You are here

public function FieldDefinition::getSettings in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldDefinition.php \Drupal\Core\Field\FieldDefinition::getSettings()
  2. 10 core/lib/Drupal/Core/Field/FieldDefinition.php \Drupal\Core\Field\FieldDefinition::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 DataDefinition::getSettings

File

core/lib/Drupal/Core/Field/FieldDefinition.php, line 300

Class

FieldDefinition
A class for defining entity field definitions.

Namespace

Drupal\Core\Field

Code

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