public function ConditionPluginBase::defaultConfiguration in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::defaultConfiguration()
- 10 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
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.
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\ConditionCode
public function defaultConfiguration() {
return [
'negate' => FALSE,
];
}