You are here

public function FieldItemList::getSettings in Drupal 9

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

Returns the array of field settings.

Return value

array An array of key/value pairs.

Overrides FieldItemListInterface::getSettings

File

core/lib/Drupal/Core/Field/FieldItemList.php, line 77

Class

FieldItemList
Represents an entity field; that is, a list of field item objects.

Namespace

Drupal\Core\Field

Code

public function getSettings() {
  return $this->definition
    ->getSettings();
}