You are here

public function BaseFieldDefinition::getSettings in Drupal 8

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

1 method overrides BaseFieldDefinition::getSettings()
BaseFieldDefinitionTest::getSettings in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php
Returns the array of settings, as required by the used class.

File

core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 138

Class

BaseFieldDefinition
A class for defining entity fields.

Namespace

Drupal\Core\Field

Code

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