function UuidItem::defaultStorageSettings

Overrides StringItem::defaultStorageSettings

File

core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UuidItem.php, line 26

Class

UuidItem
Defines the 'uuid' entity field type.

Namespace

Drupal\Core\Field\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  return [
    'max_length' => 128,
    'is_ascii' => TRUE,
  ] + parent::defaultStorageSettings();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.