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. 10 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::defaultConfiguration()

Overrides ConfigurableInterface::defaultConfiguration

7 calls to ConditionPluginBase::defaultConfiguration()
ConditionPluginBase::setConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
CurrentThemeCondition::defaultConfiguration in core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
EntityBundle::defaultConfiguration in core/lib/Drupal/Core/Entity/Plugin/Condition/EntityBundle.php
Language::defaultConfiguration in core/modules/language/src/Plugin/Condition/Language.php
RequestPath::defaultConfiguration in core/modules/system/src/Plugin/Condition/RequestPath.php

... See full list

6 methods override ConditionPluginBase::defaultConfiguration()
CurrentThemeCondition::defaultConfiguration in core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
EntityBundle::defaultConfiguration in core/lib/Drupal/Core/Entity/Plugin/Condition/EntityBundle.php
Language::defaultConfiguration in core/modules/language/src/Plugin/Condition/Language.php
RequestPath::defaultConfiguration in core/modules/system/src/Plugin/Condition/RequestPath.php
ResponseStatus::defaultConfiguration in core/modules/system/src/Plugin/Condition/ResponseStatus.php

... 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.