public function ConditionPluginBase::getConfiguration in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::getConfiguration()
- 10 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::getConfiguration()
Gets this plugin's configuration.
Return value
array An array of this plugin's configuration.
Overrides ConfigurableInterface::getConfiguration
File
- core/
lib/ Drupal/ Core/ Condition/ ConditionPluginBase.php, line 90
Class
- ConditionPluginBase
- Provides a basis for fulfilling contexts for condition plugins.
Namespace
Drupal\Core\ConditionCode
public function getConfiguration() {
return [
'id' => $this
->getPluginId(),
] + $this->configuration;
}