8.5.x ConditionPluginBase.php ConditionPluginBase::defaultConfiguration()
8.0.x ConditionPluginBase.php ConditionPluginBase::defaultConfiguration()
8.1.x ConditionPluginBase.php ConditionPluginBase::defaultConfiguration()
8.2.x ConditionPluginBase.php ConditionPluginBase::defaultConfiguration()
8.3.x ConditionPluginBase.php ConditionPluginBase::defaultConfiguration()
8.4.x ConditionPluginBase.php ConditionPluginBase::defaultConfiguration()
8.6.x ConditionPluginBase.php ConditionPluginBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

1 call to ConditionPluginBase::defaultConfiguration()
ConditionPluginBase::setConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
Sets the configuration for this plugin instance.
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 107

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

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