You are here

public static function FileUrlItem::defaultFieldSettings in File URL 8

Same name and namespace in other branches
  1. 2.0.x 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\FieldType

Code

public static function defaultFieldSettings() {
  return [
    'handler' => 'file_url_default',
  ] + parent::defaultFieldSettings();
}