You are here

public static function BigIntItem::defaultStorageSettings in Big Integer 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/BigIntItem.php, line 28

Class

BigIntItem
Defines the 'bigint' field type.

Namespace

Drupal\bigint\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'unsigned' => TRUE,
    'size' => 'big',
  ] + parent::defaultStorageSettings();
}