You are here

public static function FieldItemBase::defaultFieldSettings in Drupal 9

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

Defines the field-level settings for this plugin.

Return value

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

Overrides FieldItemInterface::defaultFieldSettings

7 calls to FieldItemBase::defaultFieldSettings()
BooleanItem::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php
Defines the field-level settings for this plugin.
CommentItem::defaultFieldSettings in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Defines the field-level settings for this plugin.
EntityReferenceItem::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Defines the field-level settings for this plugin.
LinkItem::defaultFieldSettings in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
Defines the field-level settings for this plugin.
NumericItemBase::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
Defines the field-level settings for this plugin.

... See full list

7 methods override FieldItemBase::defaultFieldSettings()
BooleanItem::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php
Defines the field-level settings for this plugin.
CommentItem::defaultFieldSettings in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Defines the field-level settings for this plugin.
EntityReferenceItem::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Defines the field-level settings for this plugin.
LinkItem::defaultFieldSettings in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
Defines the field-level settings for this plugin.
NumericItemBase::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
Defines the field-level settings for this plugin.

... See full list

File

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

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

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