Search for widget

  1. Search 7.x for widget
  2. Search 9.5.x for widget
  3. Search 10.3.x for widget
  4. Search 11.x for widget
  5. Search main for widget
  6. Other projects
Title Object type File name Summary
FileFieldWidgetTest::testTemporaryFileRemovalExploit function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal of another user using fid.
FileFieldWidgetTest::testTemporaryFileRemovalExploitAnonymous function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests exploiting the temporary file removal for anonymous users using fid.
FileFieldWidgetTest::testUploadingMoreFilesThenAllowed function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php Tests uploading more files then allowed at once.
FileFieldWidgetTest::testWidgetElement function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests file widget element.
FileFieldWidgetTest::testWidgetValidation function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests validation with the Upload button.
FileWidget class core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Plugin implementation of the 'file_generic' widget.
FileWidget.php file core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
FileWidget::create function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Creates an instance of the plugin.
FileWidget::defaultSettings function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Defines the default settings for this plugin.
FileWidget::extractFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Extracts field values from submitted form values.
FileWidget::flagErrors function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Reports field-level validation errors against actual form elements.
FileWidget::formElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns the form for a single field widget.
FileWidget::formMultipleElements function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FileWidget::getDescriptionFromElement function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Retrieves the file description from a field field element.
FileWidget::massageFormValues function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Massages the form values into the format expected for field values.
FileWidget::process function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback: Processes a file_generic field element.
FileWidget::processMultiple function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback: Processes a group of file_generic field elements.
FileWidget::settingsForm function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns a form to configure settings for the widget.
FileWidget::settingsSummary function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Returns a short summary for the current widget settings.
FileWidget::submit function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form submission handler for upload/remove button of formElement().
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form element validation callback for upload element on file widget. Checks
if user has uploaded more files than allowed.
FileWidget::value function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form API callback. Retrieves the value for the file_generic field element.
FileWidget::__construct function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Constructs a WidgetBase object.
FileWidgetAjaxController class core/modules/file/src/Controller/FileWidgetAjaxController.php Defines a controller to respond to file widget AJAX requests.
FileWidgetAjaxController.php file core/modules/file/src/Controller/FileWidgetAjaxController.php
FileWidgetAjaxController::progress function core/modules/file/src/Controller/FileWidgetAjaxController.php Returns the progress status for a file upload process.
file_field_widget_info_alter function core/modules/file/file.module Implements hook_field_widget_info_alter().
FilterFormatAccessTest::testFormatWidgetPermissions function core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php Tests editing a page using a disallowed text format.
FormTest::testFieldFormMultipleWidget function core/modules/field/tests/src/Functional/FormTest.php Tests widgets handling multiple values.
FormTest::testFieldFormMultipleWidgetAlter function core/modules/field/tests/src/Functional/FormTest.php Tests hook_field_widget_multivalue_form_alter().
FormTest::testFieldFormMultipleWidgetAlterSingleValues function core/modules/field/tests/src/Functional/FormTest.php Tests hook_field_widget_multivalue_form_alter() with single value elements.
FormTest::testFieldFormMultipleWidgetTypeAlter function core/modules/field/tests/src/Functional/FormTest.php Tests hook_field_widget_multivalue_WIDGET_TYPE_form_alter().
FormTest::testFieldFormMultipleWidgetTypeAlterSingleValues function core/modules/field/tests/src/Functional/FormTest.php Tests hook_field_widget_multivalue_WIDGET_TYPE_form_alter() with single value elements.
FormTest::widgetAlterTest function core/modules/field/tests/src/Functional/FormTest.php Tests widget alter hooks for a given hook name.
hook_field_widget_form_alter function core/modules/field/field.api.php Alter forms for field widgets provided by other modules.
hook_field_widget_info_alter function core/modules/field/field.api.php Perform alterations on Field API widget types.
hook_field_widget_multivalue_form_alter function core/modules/field/field.api.php Alter forms for multi-value field widgets provided by other modules.
hook_field_widget_multivalue_WIDGET_TYPE_form_alter function core/modules/field/field.api.php Alter multi-value widget forms for a widget provided by another module.
hook_field_widget_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field widget settings summary.
hook_field_widget_third_party_settings_form function core/modules/field_ui/field_ui.api.php Allow modules to add settings to field widgets provided by other modules.
hook_field_widget_WIDGET_TYPE_form_alter function core/modules/field/field.api.php Alter widget forms for a specific widget provided by another module.
image-widget.css file core/profiles/demo_umami/themes/umami/css/classy/components/image-widget.css Image upload widget.
image-widget.css file core/themes/claro/css/layout/image-widget.css Image widget styles.
image-widget.css file core/themes/bartik/css/classy/components/image-widget.css Image upload widget.
image-widget.css file core/themes/seven/css/classy/components/image-widget.css Image upload widget.
image-widget.css file core/themes/classy/css/components/image-widget.css Image upload widget.
image-widget.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/content-edit/image-widget.html.twig Theme override for an image field widget.
image-widget.html.twig file core/themes/seven/templates/image-widget.html.twig Theme override for an image field widget.
image-widget.html.twig file core/themes/claro/templates/content-edit/image-widget.html.twig Theme override for an image field widget.
image-widget.html.twig file core/themes/bartik/templates/classy/content-edit/image-widget.html.twig Theme override for an image field widget.

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