public static function VideoEmbedField::defaultFieldSettings in Video Embed Field 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldType/VideoEmbedField.php \Drupal\video_embed_field\Plugin\Field\FieldType\VideoEmbedField::defaultFieldSettings()
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ VideoEmbedField.php, line 99
Class
- VideoEmbedField
- Plugin implementation of the video_embed_field field type.
Namespace
Drupal\video_embed_field\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'allowed_providers' => [],
];
}