You are here

public static function ViewfieldItem::defaultStorageSettings in Viewfield 8.3

Defines the storage-level settings for this plugin.

Return value

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

Overrides EntityReferenceItem::defaultStorageSettings

File

src/Plugin/Field/FieldType/ViewfieldItem.php, line 32

Class

ViewfieldItem
Plugin implementation of the 'viewfield' field type.

Namespace

Drupal\viewfield\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'target_type' => 'view',
  ];
}