1. 8.5.x core/lib/Drupal/Component/Plugin/PluginBase.php PluginBase::configuration
  2. 8.0.x core/lib/Drupal/Component/Plugin/PluginBase.php PluginBase::configuration
  3. 8.1.x core/lib/Drupal/Component/Plugin/PluginBase.php PluginBase::configuration
  4. 8.2.x core/lib/Drupal/Component/Plugin/PluginBase.php PluginBase::configuration
  5. 8.3.x core/lib/Drupal/Component/Plugin/PluginBase.php PluginBase::configuration
  6. 8.4.x core/lib/Drupal/Component/Plugin/PluginBase.php PluginBase::configuration
  7. 8.6.x core/lib/Drupal/Component/Plugin/PluginBase.php PluginBase::configuration

Configuration information passed into the plugin.

When using an interface like \Drupal\Component\Plugin\ConfigurablePluginInterface, 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;