Search for widget

  1. Search 7.x for widget
  2. Search 9.5.x for widget
  3. Search 8.9.x for widget
  4. Search 10.3.x for widget
  5. Search main for widget
  6. Other projects
Title Object type File name Summary
ImageWidget.php file core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php
ImageWidget::$imageFactory property core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php The image factory service.
ImageWidget::calculateDependencies function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Calculates dependencies for the configured plugin.
ImageWidget::defaultSettings function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Defines the default settings for this plugin.
ImageWidget::errorElement function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Assigns a field-level validation error to the right widget sub-element.
ImageWidget::formElement function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Returns the form for a single field widget.
ImageWidget::formMultipleElements function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
ImageWidget::onDependencyRemoval function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Informs the plugin that some configuration it depends on will be deleted.
ImageWidget::process function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Form API callback: Processes an image_image field element.
ImageWidget::settingsForm function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Returns a form to configure settings for the widget.
ImageWidget::settingsSummary function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Returns a short summary for the current widget settings.
ImageWidget::validateRequiredFields function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Validate callback for alt and title field, if the user wants them required.
ImageWidget::__construct function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Constructs an ImageWidget object.
LanguageSelectWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Plugin implementation of the 'Language' widget.
LanguageSelectWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php
LanguageSelectWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Defines the default settings for this plugin.
LanguageSelectWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Returns the form for a single field widget.
LanguageSelectWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/LanguageSelectWidget.php Returns a form to configure settings for the widget.
LanguageSelectWidgetTest class core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the language select widget.
LanguageSelectWidgetTest.php file core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
LanguageSelectWidgetTest::$entityFormDisplay property core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php The entity form display.
LanguageSelectWidgetTest::$modules property core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Modules to install.
LanguageSelectWidgetTest::setUp function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
LanguageSelectWidgetTest::testWithIncludedLockedLanguage function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the widget with the locked languages.
LanguageSelectWidgetTest::testWithoutIncludedLockedLanguage function core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php Tests the widget without the locked languages.
LayoutBuilderWidget class core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php A widget to display the layout form.
LayoutBuilderWidget.php file core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php
LayoutBuilderWidget::extractFormValues function core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php Extracts field values from submitted form values.
LayoutBuilderWidget::formElement function core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php Returns the form for a single field widget.
LayoutBuilderWidget::getSectionStorage function core/modules/layout_builder/src/Plugin/Field/FieldWidget/LayoutBuilderWidget.php Gets the section storage.
LinkField::getFieldWidgetMap function core/modules/link/src/Plugin/migrate/field/d7/LinkField.php Get a map between D6 and D8 widgets for this field type.
LinkFieldTest::testLinkWidgetCaughtExceptionEditingInvalidUrl function core/modules/link/tests/src/Functional/LinkFieldTest.php Test link widget exception handled if link uri value is invalid.
LinkFieldWidgetTest class core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Tests link field widgets.
LinkFieldWidgetTest.php file core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php
LinkFieldWidgetTest::$modules property core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Modules to install.
LinkFieldWidgetTest::testLinkTypeOnLinkWidget function core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Tests '#link_type' property exists on 'link_default' widget.
LinkWidget class core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Plugin implementation of the 'link' widget.
LinkWidget.php file core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php
LinkWidget::defaultSettings function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Defines the default settings for this plugin.
LinkWidget::errorElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Assigns a field-level validation error to the right widget sub-element.
LinkWidget::flagErrors function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Override the '%uri' message parameter, to ensure that 'internal:' URIs
show a validation error message that doesn't mention that scheme.
LinkWidget::formElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Returns the form for a single field widget.
LinkWidget::getUriAsDisplayableString function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Gets the URI without the 'internal:' or 'entity:' scheme.
LinkWidget::getUserEnteredStringAsUri function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Gets the user-entered string as a URI.
LinkWidget::isNoLinkRoute function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Checks if a given route name is one of Drupal's special no-link routes.
LinkWidget::massageFormValues function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Massages the form values into the format expected for field values.
LinkWidget::settingsForm function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Returns a form to configure settings for the widget.
LinkWidget::settingsSummary function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Returns a short summary for the current widget settings.
LinkWidget::supportsExternalLinks function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Indicates enabled support for link to external URLs.
LinkWidget::supportsInternalLinks function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Indicates enabled support for link to routes.

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