function FieldItemBase::defaultStorageSettings
Defines the storage-level settings for this plugin.
Setting names defined by this method must not duplicate the setting names returned by this plugin's implementation of defaultFieldSettings(), as both lists of settings are merged.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemInterface::defaultStorageSettings
10 calls to 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.
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.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 25
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public static function defaultStorageSettings() {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.