function ConditionPluginBase::defaultConfiguration

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

Overrides ConfigurableInterface::defaultConfiguration

1 call to ConditionPluginBase::defaultConfiguration()
ConditionPluginBase::setConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
Sets the configuration for this plugin instance.
6 methods override ConditionPluginBase::defaultConfiguration()
CurrentThemeCondition::defaultConfiguration in core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
Gets default configuration for this plugin.
EntityBundle::defaultConfiguration in core/lib/Drupal/Core/Entity/Plugin/Condition/EntityBundle.php
Gets default configuration for this plugin.
Language::defaultConfiguration in core/modules/language/src/Plugin/Condition/Language.php
Gets default configuration for this plugin.
RequestPath::defaultConfiguration in core/modules/system/src/Plugin/Condition/RequestPath.php
Gets default configuration for this plugin.
ResponseStatus::defaultConfiguration in core/modules/system/src/Plugin/Condition/ResponseStatus.php
Gets default configuration for this plugin.

... See full list

File

core/lib/Drupal/Core/Condition/ConditionPluginBase.php, line 108

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

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

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