function ConditionPluginBase::getConfiguration

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::getConfiguration()
  2. 10 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::getConfiguration()
  3. 11.x core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::getConfiguration()

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\Condition

Code

public function getConfiguration() {
    return [
        'id' => $this->getPluginId(),
    ] + $this->configuration;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.