public function RequestPath::defaultConfiguration in Drupal 8
Same name and namespace in other branches
- 9 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 102
Class
- RequestPath
- Provides a 'Request Path' condition.
Namespace
Drupal\system\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'pages' => '',
] + parent::defaultConfiguration();
}