public function RequestPath::defaultConfiguration in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/src/Plugin/Condition/RequestPath.php \Drupal\system\Plugin\Condition\RequestPath::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- core/
modules/ system/ src/ Plugin/ Condition/ RequestPath.php, line 95
Class
- RequestPath
- Provides a 'Request Path' condition.
Namespace
Drupal\system\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'pages' => '',
] + parent::defaultConfiguration();
}