You are here

protected function FieldItemBase::getSettings in Drupal 8

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

Returns the array of field settings.

Return value

array The array of settings.

10 calls to FieldItemBase::getSettings()
CommentItem::fieldSettingsForm in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Returns a form for the field-level settings.
DecimalItem::fieldSettingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
Returns a form for the field-level settings.
DecimalItem::storageSettingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
Returns a form for the storage-level settings.
FileItem::fieldSettingsForm in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Returns a form for the field-level settings.
FileItem::getUploadLocation in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Determines the URI for a file field.

... See full list

File

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

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

protected function getSettings() {
  return $this
    ->getFieldDefinition()
    ->getSettings();
}