function LanguageSelectWidget::defaultSettings
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php \Drupal\Core\Field\Plugin\Field\FieldWidget\LanguageSelectWidget::defaultSettings()
- 10 core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php \Drupal\Core\Field\Plugin\Field\FieldWidget\LanguageSelectWidget::defaultSettings()
- 11.x core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php \Drupal\Core\Field\Plugin\Field\FieldWidget\LanguageSelectWidget::defaultSettings()
Overrides PluginSettingsBase::defaultSettings
File
-
core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ LanguageSelectWidget.php, line 39
Class
- LanguageSelectWidget
- Plugin implementation of the 'Language' widget.
Namespace
Drupal\Core\Field\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
$settings = parent::defaultSettings();
$settings['include_locked'] = TRUE;
return $settings;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.