You are here

public static function FieldItemBase::defaultStorageSettings in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::defaultStorageSettings()
  2. 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::defaultStorageSettings()

Defines the storage-level settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides FieldItemInterface::defaultStorageSettings

7 calls to FieldItemBase::defaultStorageSettings()
CommentItem::defaultStorageSettings in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Defines the storage-level settings for this plugin.
DecimalItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
Defines the storage-level settings for this plugin.
EntityReferenceItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Defines the storage-level settings for this plugin.
IntegerItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php
Defines the storage-level settings for this plugin.
StringItemBase::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php
Defines the storage-level settings for this plugin.

... See full list

10 methods override FieldItemBase::defaultStorageSettings()
CommentItem::defaultStorageSettings in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Defines the storage-level settings for this plugin.
DateTimeItem::defaultStorageSettings in core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php
Defines the storage-level settings for this plugin.
DecimalItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
Defines the storage-level settings for this plugin.
EntityReferenceItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Defines the storage-level settings for this plugin.
IntegerItem::defaultStorageSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php
Defines the storage-level settings for this plugin.

... See full list

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 25

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

public static function defaultStorageSettings() {
  return [];
}