You are here

7 calls to WidgetBase::setWidgetState() in Drupal 9

FileWidget::extractFormValues in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Extracts field values from submitted form values.
FileWidget::submit in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Form submission handler for upload/remove button of formElement().
MediaLibraryWidget::setFieldState in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
Sets 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::form in core/lib/Drupal/Core/Field/WidgetBase.php
Creates a form element for a field.