function StringItemBase::defaultStorageSettings

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php \Drupal\Core\Field\Plugin\Field\FieldType\StringItemBase::defaultStorageSettings()
  2. 8.9.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php \Drupal\Core\Field\Plugin\Field\FieldType\StringItemBase::defaultStorageSettings()
  3. 11.x core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php \Drupal\Core\Field\Plugin\Field\FieldType\StringItemBase::defaultStorageSettings()

Overrides FieldItemBase::defaultStorageSettings

1 call to StringItemBase::defaultStorageSettings()
StringItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php
Defines the storage-level settings for this plugin.
1 method overrides StringItemBase::defaultStorageSettings()
StringItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php
Defines the storage-level settings for this plugin.

File

core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php, line 18

Class

StringItemBase
Base class for string field types.

Namespace

Drupal\Core\Field\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
    return [
        'case_sensitive' => FALSE,
    ] + parent::defaultStorageSettings();
}

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