function BaseFieldDefinition::getSettings

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

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();
}

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