public function HttpStatusCode::defaultConfiguration in Context 8.4
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConditionPluginBase::defaultConfiguration
File
- src/
Plugin/ Condition/ HttpStatusCode.php, line 141
Class
- HttpStatusCode
- Provides a 'Http status code' condition.
Namespace
Drupal\context\Plugin\ConditionCode
public function defaultConfiguration() {
return [
'status_codes' => [],
] + parent::defaultConfiguration();
}