public function BaseFieldDefinition::getSettings in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/BaseFieldDefinition.php \Drupal\Core\Field\BaseFieldDefinition::getSettings()
- 9 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\FieldCode
public function getSettings() {
return $this
->getItemDefinition()
->getSettings();
}