You are here

public function Language::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::defaultConfiguration()
  2. 10 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

core/modules/language/src/Plugin/Condition/Language.php, line 146

Class

Language
Provides a 'Language' condition.

Namespace

Drupal\language\Plugin\Condition

Code

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