Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Field/WidgetBase.php \Drupal\Core\Field\WidgetBase::getFieldSettings()
- 9 core/lib/Drupal/Core/Field/WidgetBase.php \Drupal\Core\Field\WidgetBase::getFieldSettings()
Returns the array of field settings.
Return value
array The array of settings.
File
- core/
lib/ Drupal/ Core/ Field/ WidgetBase.php, line 663
Class
- WidgetBase
- Base class for 'Field widget' plugin implementations.
Namespace
Drupal\Core\FieldCode
protected function getFieldSettings() {
return $this->fieldDefinition
->getSettings();
}