You are here

public static function CpfItem::defaultStorageSettings in CPF 8

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

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/CpfItem.php, line 43

Class

CpfItem
Plugin implementation of the 'cpf' field type.

Namespace

Drupal\cpf\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'unique' => static::SAME_VALUES,
    'ignore_bundle' => 0,
  ] + parent::defaultStorageSettings();
}