You are here

public function ConditionPluginBase::getConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::getConfiguration()
  2. 9 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::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;
}