public function RouteCondition::defaultConfiguration in Route Condition 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Condition/RouteCondition.php \Drupal\route_condition\Plugin\Condition\RouteCondition::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ RouteCondition.php, line 61
Class
- RouteCondition
- Provides a 'Route' condition.
Namespace
Drupal\route_condition\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'routes' => '',
] + parent::defaultConfiguration();
}