You are here

public static function VideoItem::defaultStorageSettings in Video 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldType/VideoItem.php \Drupal\video\Plugin\Field\FieldType\VideoItem::defaultStorageSettings()

Defines the storage-level settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides FileItem::defaultStorageSettings

File

src/Plugin/Field/FieldType/VideoItem.php, line 51

Class

VideoItem
Plugin implementation of the 'video' field type.

Namespace

Drupal\video\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'default_video' => [
      'uuid' => NULL,
      'data' => NULL,
    ],
  ] + parent::defaultStorageSettings();
}