You are here

public function FieldConfigBase::getSettings in Drupal 9

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

Returns the array of settings, as required by the used class.

See the documentation of the class for supported or required settings.

Return value

array The array of settings.

Overrides DataDefinitionInterface::getSettings

1 call to FieldConfigBase::getSettings()
FieldConfigBase::getItemDefinition in core/lib/Drupal/Core/Field/FieldConfigBase.php
Gets the data definition of an item of the list.

File

core/lib/Drupal/Core/Field/FieldConfigBase.php, line 345

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

public function getSettings() {
  return $this->settings + $this
    ->getFieldStorageDefinition()
    ->getSettings();
}