You are here

public function ConditionPluginBase::getConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 ConfigurablePluginInterface::getConfiguration

File

core/lib/Drupal/Core/Condition/ConditionPluginBase.php, line 88
Contains \Drupal\Core\Condition\ConditionPluginBase.

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

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