public function ConditionPluginBase::defaultConfiguration in Drupal 9
Same name and namespace in other branches
- 8 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 ConfigurableInterface::defaultConfiguration
7 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.
- 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.
- NodeType::defaultConfiguration in core/
modules/ node/ src/ Plugin/ Condition/ NodeType.php - Gets default configuration for this plugin.
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.
- 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.
File
- core/
lib/ Drupal/ Core/ Condition/ ConditionPluginBase.php, line 107
Class
- ConditionPluginBase
- Provides a basis for fulfilling contexts for condition plugins.
Namespace
Drupal\Core\ConditionCode
public function defaultConfiguration() {
return [
'negate' => FALSE,
];
}