public static function WebformEntityReferenceWidgetTrait::defaultSettings in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/Field/FieldWidget/WebformEntityReferenceWidgetTrait.php \Drupal\webform\Plugin\Field\FieldWidget\WebformEntityReferenceWidgetTrait::defaultSettings()
1 method overrides WebformEntityReferenceWidgetTrait::defaultSettings()
- WebformEntityReferenceSelectWidget::defaultSettings in src/
Plugin/ Field/ FieldWidget/ WebformEntityReferenceSelectWidget.php - Defines the default settings for this plugin.
File
- src/
Plugin/ Field/ FieldWidget/ WebformEntityReferenceWidgetTrait.php, line 40
Class
- WebformEntityReferenceWidgetTrait
- Trait for webform entity reference and autocomplete widget.
Namespace
Drupal\webform\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'default_data' => TRUE,
'webforms' => NULL,
] + parent::defaultSettings();
}