public function FieldDefinition::getSettings in Drupal 9
Same name and namespace in other branches
- 8 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\FieldCode
public function getSettings() {
return $this
->getItemDefinition()
->getSettings() + $this
->getFieldStorageDefinition()
->getSettings();
}