function FieldItemBase::defaultFieldSettings

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::defaultFieldSettings()
  2. 8.9.x 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

5 calls to FieldItemBase::defaultFieldSettings()
BooleanItem::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php
CommentItem::defaultFieldSettings in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
LinkItem::defaultFieldSettings in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
NumericItemBase::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
TextItemBase::defaultFieldSettings in core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php
6 methods override FieldItemBase::defaultFieldSettings()
BooleanItem::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php
CommentItem::defaultFieldSettings in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
LinkItem::defaultFieldSettings in core/modules/link/src/Plugin/Field/FieldType/LinkItem.php
NumericItemBase::defaultFieldSettings in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php
TestItem::defaultFieldSettings in core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.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.