public static function TextItem::defaultStorageSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/text/src/Plugin/Field/FieldType/TextItem.php \Drupal\text\Plugin\Field\FieldType\TextItem::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
- core/
modules/ text/ src/ Plugin/ Field/ FieldType/ TextItem.php, line 30 - Contains \Drupal\text\Plugin\Field\FieldType\TextItem.
Class
- TextItem
- Plugin implementation of the 'text' field type.
Namespace
Drupal\text\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return array(
'max_length' => 255,
) + parent::defaultStorageSettings();
}