You are here

public static function GridFieldType::defaultStorageSettings in Paragraphs grid 8

Defines the storage-level settings for this plugin.

Return value

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

Overrides FieldItemBase::defaultStorageSettings

File

src/Plugin/Field/FieldType/GridFieldType.php, line 60

Class

GridFieldType
Plugin implementation of the 'grid_field_type' field type.

Namespace

Drupal\paragraphs_grid\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'optional' => [
      'offset',
    ],
    'view_modes_enabled' => TRUE,
  ] + parent::defaultStorageSettings();
}