13 calls to WidgetBase::getWidgetState()

FileWidget::extractFormValues in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
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::extractFormValues in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
MediaLibraryWidget::form in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
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::deleteSubmit in core/lib/Drupal/Core/Field/WidgetBase.php
Ajax submit callback for the "Remove" button.
WidgetBase::extractFormValues in core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::flagErrors in core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::form in core/lib/Drupal/Core/Field/WidgetBase.php
WidgetBase::formMultipleElements in core/lib/Drupal/Core/Field/WidgetBase.php
Special handling to create form elements for multiple values.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.