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 11.x for widget
  6. Other projects
Title Object type File name Summary
LinkFieldWidgetTest::setUp function core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php
LinkFieldWidgetTest::testDefaultValues function core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Verify that default values are applied to the uri subfield.
LinkFieldWidgetTest::testFieldDescription function core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Verifies that the widget elements have the expected descriptions.
LinkFieldWidgetTest::testLinkTypeOnLinkWidget function core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Tests '#link_type' property exists on 'link_default' widget.
LinkFieldWidgetTest::testLinkWidgetCaughtExceptionEditingInvalidUrl function core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Test link widget exception handled if link uri value is invalid.
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
LinkWidget::errorElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php
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
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
LinkWidget::settingsForm function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php
LinkWidget::settingsSummary function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php
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.
LinkWidget::validateTitleNoLink function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.
LinkWidget::validateUriElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'uri' element.
ManageDisplayTest::testWidgetUI function core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php Tests widget settings.
MediaHooks::fieldWidgetCompleteFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_field_widget_complete_form_alter().
MediaHooks::fieldWidgetSingleElementFormAlter function core/modules/media/src/Hook/MediaHooks.php Implements hook_field_widget_single_element_form_alter().
MediaLibraryAccessTest::providerFieldWidgetEntityFieldAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Data provider for ::testFieldWidgetEntityFieldAccess().
MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity creation permissions.
MediaLibraryAccessTest::testFieldWidgetEntityEditAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity-specific access.
MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess function core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php Tests that the field widget opener respects entity field-level access.
MediaLibraryFieldWidgetOpener class core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php The media library opener for field widgets.
MediaLibraryFieldWidgetOpener.php file core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php
MediaLibraryFieldWidgetOpener::$entityTypeManager property core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php The entity type manager.
MediaLibraryFieldWidgetOpener::checkAccess function core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php
MediaLibraryFieldWidgetOpener::getSelectionResponse function core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php
MediaLibraryFieldWidgetOpener::__construct function core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php MediaLibraryFieldWidgetOpener constructor.
MediaLibraryInceptionWidget class core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php Plugin implementation of the 'media_library_inception_widget' widget.
MediaLibraryInceptionWidget.php file core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibraryInceptionWidget::elementValidate function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibraryInceptionWidget::formElement function core/modules/media_library/tests/modules/media_library_test_widget/src/Plugin/Field/FieldWidget/MediaLibraryInceptionWidget.php
MediaLibrarySelectForm::updateWidget function core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php Submit handler for the media library select form.
MediaLibraryTestHooks::fieldWidgetInfoAlter function core/modules/media_library/tests/modules/media_library_test/src/Hook/MediaLibraryTestHooks.php Implements hook_field_widget_info_alter().
MediaLibraryWidget class core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Plugin implementation of the 'media_library_widget' widget.
MediaLibraryWidget.php file core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
MediaLibraryWidget::$currentUser property core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php The current active user.
MediaLibraryWidget::$entityTypeManager property core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Entity type manager service.
MediaLibraryWidget::$moduleHandler property core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php The module handler.
MediaLibraryWidget::addItems function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php Updates the field state and flags the form for rebuild.
MediaLibraryWidget::create function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
MediaLibraryWidget::defaultSettings function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
MediaLibraryWidget::errorElement function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
MediaLibraryWidget::extractFormValues function core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php

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