public static function FileUrlItem::defaultFieldSettings in File URL 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldType/FileUrlItem.php \Drupal\file_url\Plugin\Field\FieldType\FileUrlItem::defaultFieldSettings()
Defines the field-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FileItem::defaultFieldSettings
File
- src/
Plugin/ Field/ FieldType/ FileUrlItem.php, line 29
Class
- FileUrlItem
- Plugin implementation of the 'file_url' field type.
Namespace
Drupal\file_url\Plugin\Field\FieldTypeCode
public static function defaultFieldSettings() {
return [
'handler' => 'file_url_default',
] + parent::defaultFieldSettings();
}