public static function UuidItem::defaultStorageSettings in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/UuidItem.php \Drupal\Core\Field\Plugin\Field\FieldType\UuidItem::defaultStorageSettings()
Defines the storage-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
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\FieldTypeCode
public static function defaultStorageSettings() {
return [
'max_length' => 128,
'is_ascii' => TRUE,
] + parent::defaultStorageSettings();
}