You are here

public function ConditionPluginBase::defaultConfiguration 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::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

6 calls to ConditionPluginBase::defaultConfiguration()
ConditionPluginBase::setConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
Sets the configuration for this plugin instance.
CurrentThemeCondition::defaultConfiguration in core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
Gets default configuration for this plugin.
Language::defaultConfiguration in core/modules/language/src/Plugin/Condition/Language.php
Gets default configuration for this plugin.
NodeType::defaultConfiguration in core/modules/node/src/Plugin/Condition/NodeType.php
Gets default configuration for this plugin.
RequestPath::defaultConfiguration in core/modules/system/src/Plugin/Condition/RequestPath.php
Gets default configuration for this plugin.

... See full list

5 methods override ConditionPluginBase::defaultConfiguration()
CurrentThemeCondition::defaultConfiguration in core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
Gets default configuration for this plugin.
Language::defaultConfiguration in core/modules/language/src/Plugin/Condition/Language.php
Gets default configuration for this plugin.
NodeType::defaultConfiguration in core/modules/node/src/Plugin/Condition/NodeType.php
Gets default configuration for this plugin.
RequestPath::defaultConfiguration in core/modules/system/src/Plugin/Condition/RequestPath.php
Gets default configuration for this plugin.
UserRole::defaultConfiguration in core/modules/user/src/Plugin/Condition/UserRole.php
Gets default configuration for this plugin.

File

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

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

public function defaultConfiguration() {
  return array(
    'negate' => FALSE,
  );
}