You are here

public function RequestPath::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 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\Condition

Code

public function defaultConfiguration() {
  return [
    'pages' => '',
  ] + parent::defaultConfiguration();
}