function FieldConfigBase::getSettings

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::getSettings()
  2. 10 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::getSettings()
  3. 11.x 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 347

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

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

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