You are here

public function Language::defaultConfiguration in Drupal 10

Same name in this branch
  1. 10 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::defaultConfiguration()
  2. 10 core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Language.php \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Language::defaultConfiguration()
Same name and namespace in other branches
  1. 8 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::defaultConfiguration()
  2. 9 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::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();
}