function FieldItemBase::defaultFieldSettings

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::defaultFieldSettings()
  2. 10 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::defaultFieldSettings()
  3. 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::defaultFieldSettings()

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 [];
}

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