public static function WebformEntityReferenceSelectWidget::defaultSettings in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/Field/FieldWidget/WebformEntityReferenceSelectWidget.php \Drupal\webform\Plugin\Field\FieldWidget\WebformEntityReferenceSelectWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides WebformEntityReferenceWidgetTrait::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ WebformEntityReferenceSelectWidget.php, line 33
Class
- WebformEntityReferenceSelectWidget
- Plugin implementation of the 'webform_entity_reference_select' widget.
Namespace
Drupal\webform\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'default_data' => TRUE,
'webforms' => [],
] + parent::defaultSettings();
}