You are here

public function Language::defaultConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 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();
}