Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::configuration
  2. 9 core/lib/Drupal/Component/Plugin/PluginBase.php \Drupal\Component\Plugin\PluginBase::configuration

Configuration information passed into the plugin.

When using an interface like \Drupal\Component\Plugin\ConfigurableInterface, this is where the configuration should be stored.

Plugin configuration is optional, so plugin implementations must provide their own setters and getters.

Type: array

File

core/lib/Drupal/Component/Plugin/PluginBase.php, line 41

Class

PluginBase
Base class for plugins wishing to support metadata inspection.

Namespace

Drupal\Component\Plugin

Code

protected $configuration;