You are here

public static function UserMentionsFieldType::defaultStorageSettings in Tweet Feed 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/Field/FieldType/UserMentionsFieldType.php \Drupal\tweet_feed\Plugin\Field\FieldType\UserMentionsFieldType::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

src/Plugin/Field/FieldType/UserMentionsFieldType.php, line 29

Class

UserMentionsFieldType
Plugin implementation of the 'user_mentions_field_type' field type.

Namespace

Drupal\tweet_feed\Plugin\Field\FieldType

Code

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