You are here

11 calls to WidgetBase::getWidgetState() in Drupal 9

FileWidget::extractFormValues in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Extracts field values from submitted form values.
FileWidget::formMultipleElements in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FileWidget::submit in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Form submission handler for upload/remove button of formElement().
MediaLibraryWidget::form in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
Creates a form element for a field.
MediaLibraryWidget::getFieldState in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
Gets the field state for the widget.
WidgetBase::addMoreSubmit in core/lib/Drupal/Core/Field/WidgetBase.php
Submission handler for the "Add another item" button.
WidgetBase::afterBuild in core/lib/Drupal/Core/Field/WidgetBase.php
After-build handler for field elements in a form.
WidgetBase::extractFormValues in core/lib/Drupal/Core/Field/WidgetBase.php
Extracts field values from submitted form values.
WidgetBase::flagErrors in core/lib/Drupal/Core/Field/WidgetBase.php
Reports field-level validation errors against actual form elements.
WidgetBase::form in core/lib/Drupal/Core/Field/WidgetBase.php
Creates a form element for a field.
WidgetBase::formMultipleElements in core/lib/Drupal/Core/Field/WidgetBase.php
Special handling to create form elements for multiple values.