Search for autocomplete

  1. Search 7.x for autocomplete
  2. Search 9.5.x for autocomplete
  3. Search 8.9.x for autocomplete
  4. Search 10.3.x for autocomplete
  5. Other projects
Title Object type File name Summary
EntityAutocompleteElementFormTest::testEntityAutocompleteAccess function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests that access is properly checked by the EntityAutocomplete element.
EntityAutocompleteElementFormTest::testEntityAutocompleteIdInput function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests ID input is handled correctly.
EntityAutocompleteElementFormTest::testInvalidEntityAutocompleteElement function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests invalid entries in the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest::testValidEntityAutocompleteElement function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests valid entries in the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Form validation handler.
EntityAutocompleteMatcher class core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php Matcher class to get autocompletion results for entity reference.
EntityAutocompleteMatcher.php file core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php
EntityAutocompleteMatcher::$selectionManager property core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php The entity reference selection handler plugin manager.
EntityAutocompleteMatcher::getMatches function core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php Gets matched labels based on a given search string.
EntityAutocompleteMatcher::__construct function core/lib/Drupal/Core/Entity/EntityAutocompleteMatcher.php Constructs an EntityAutocompleteMatcher object.
EntityAutocompleteMatcherInterface interface core/lib/Drupal/Core/Entity/EntityAutocompleteMatcherInterface.php Provides an interface for the entity autocomplete matcher.
EntityAutocompleteMatcherInterface.php file core/lib/Drupal/Core/Entity/EntityAutocompleteMatcherInterface.php
EntityAutocompleteMatcherInterface::getMatches function core/lib/Drupal/Core/Entity/EntityAutocompleteMatcherInterface.php Gets matched labels based on a given search string.
EntityAutocompleteTest class core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php Tests the autocomplete functionality.
EntityAutocompleteTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php
EntityAutocompleteTest::$bundle property core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php The bundle used in this test.
EntityAutocompleteTest::$entityType property core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php The entity type used in this test.
EntityAutocompleteTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php Modules to install.
EntityAutocompleteTest::getAutocompleteResult function core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php Returns the result of an Entity reference autocomplete request.
EntityAutocompleteTest::testEntityReferenceAutocompletion function core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php Tests autocompletion edge cases with slashes in the names.
EntityAutocompleteTest::testSelectionSettingsHandling function core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php Tests that missing or invalid selection setting key are handled correctly.
EntityReference::valueFormAddAutocomplete function core/modules/views/src/Plugin/views/filter/EntityReference.php Adds an autocomplete element to the form.
EntityReference::WIDGET_AUTOCOMPLETE constant core/modules/views/src/Plugin/views/filter/EntityReference.php Type for the autocomplete filter format.
EntityReferenceAutocompleteTagsWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Plugin implementation of the 'entity_reference_autocomplete_tags' widget.
EntityReferenceAutocompleteTagsWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php
EntityReferenceAutocompleteTagsWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Returns the form for a single field widget.
EntityReferenceAutocompleteTagsWidget::massageFormValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteTagsWidget.php Massages the form values into the format expected for field values.
EntityReferenceAutocompleteWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Plugin implementation of the 'entity_reference_autocomplete' widget.
EntityReferenceAutocompleteWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
EntityReferenceAutocompleteWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Defines the default settings for this plugin.
EntityReferenceAutocompleteWidget::errorElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Assigns a field-level validation error to the right widget sub-element.
EntityReferenceAutocompleteWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the form for a single field widget.
EntityReferenceAutocompleteWidget::getAutocreateBundle function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the name of the bundle which will be used for autocreated entities.
EntityReferenceAutocompleteWidget::getMatchOperatorOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the options for the match operator.
EntityReferenceAutocompleteWidget::getSelectionHandlerSetting function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns the value of a setting for the entity reference selection handler.
EntityReferenceAutocompleteWidget::massageFormValues function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Massages the form values into the format expected for field values.
EntityReferenceAutocompleteWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns a form to configure settings for the widget.
EntityReferenceAutocompleteWidget::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php Returns a short summary for the current widget settings.
EntityReferenceAutocompleteWidgetTest class core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests the output of entity reference autocomplete widgets.
EntityReferenceAutocompleteWidgetTest.php file core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
EntityReferenceAutocompleteWidgetTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php The theme to install as the default for testing.
EntityReferenceAutocompleteWidgetTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Modules to install.
EntityReferenceAutocompleteWidgetTest::doAutocomplete function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Executes an autocomplete on a given field and waits for it to finish.
EntityReferenceAutocompleteWidgetTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the default autocomplete widget return the correct results.
EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidgetAttachedEntity function core/tests/Drupal/FunctionalJavascriptTests/EntityReference/EntityReferenceAutocompleteWidgetTest.php Tests that the autocomplete widget knows about the entity its attached to.
FilterEntityReferenceTest::testViewEntityReferenceAsAutocomplete function core/modules/views/tests/src/Kernel/Handler/FilterEntityReferenceTest.php Tests that results are successfully filtered by the autocomplete widget.
FormElement::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElement.php Adds autocomplete functionality to elements.
FormElementBase::processAutocomplete function core/lib/Drupal/Core/Render/Element/FormElementBase.php Adds autocomplete functionality to elements.
FormTestAutocompleteForm class core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php Defines a test form using autocomplete textfields.

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