You are here

public static function GeofieldItem::defaultStorageSettings in Geofield 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/GeofieldItem.php, line 29

Class

GeofieldItem
Plugin implementation of the 'geofield' field type.

Namespace

Drupal\geofield\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'backend' => 'geofield_backend_default',
  ] + parent::defaultStorageSettings();
}