function ResponseStatus::defaultConfiguration

Same name in other branches
  1. 11.x core/modules/system/src/Plugin/Condition/ResponseStatus.php \Drupal\system\Plugin\Condition\ResponseStatus::defaultConfiguration()

Overrides ConditionPluginBase::defaultConfiguration

File

core/modules/system/src/Plugin/Condition/ResponseStatus.php, line 55

Class

ResponseStatus
Provides a 'Response status' condition.

Namespace

Drupal\system\Plugin\Condition

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.