public function Language::defaultConfiguration in Drupal 8
Same name and namespace in other branches
- 9 core/modules/language/src/Plugin/Condition/Language.php \Drupal\language\Plugin\Condition\Language::defaultConfiguration()
- 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\ConditionCode
public function defaultConfiguration() {
return [
'langcodes' => [],
] + parent::defaultConfiguration();
}