You are here

protected function WidgetBase::getFieldSettings in Drupal 8

Same name and namespace in other branches
  1. 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.

4 calls to WidgetBase::getFieldSettings()
FileWidget::formElement in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Returns the form for a single field widget.
FileWidget::formMultipleElements in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
ImageWidget::formElement in core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php
Returns the form for a single field widget.
NumberWidget::formElement in core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/NumberWidget.php
Returns the form for a single field widget.

File

core/lib/Drupal/Core/Field/WidgetBase.php, line 547

Class

WidgetBase
Base class for 'Field widget' plugin implementations.

Namespace

Drupal\Core\Field

Code

protected function getFieldSettings() {
  return $this->fieldDefinition
    ->getSettings();
}