function TelephoneDefaultWidget::defaultSettings
Same name in other branches
- 9 core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php \Drupal\telephone\Plugin\Field\FieldWidget\TelephoneDefaultWidget::defaultSettings()
- 8.9.x core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php \Drupal\telephone\Plugin\Field\FieldWidget\TelephoneDefaultWidget::defaultSettings()
- 11.x core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php \Drupal\telephone\Plugin\Field\FieldWidget\TelephoneDefaultWidget::defaultSettings()
Overrides PluginSettingsBase::defaultSettings
File
-
core/
modules/ telephone/ src/ Plugin/ Field/ FieldWidget/ TelephoneDefaultWidget.php, line 25
Class
- TelephoneDefaultWidget
- Plugin implementation of the 'telephone_default' widget.
Namespace
Drupal\telephone\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'placeholder' => '',
] + parent::defaultSettings();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.