Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
EntityAutocomplete::valueCallback function core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php Determines how user input is mapped to an element's #value property.
EntityAutocompleteController class core/modules/system/src/Controller/EntityAutocompleteController.php Defines a route controller for entity autocomplete form elements.
EntityAutocompleteController.php file core/modules/system/src/Controller/EntityAutocompleteController.php
EntityAutocompleteController::$keyValue property core/modules/system/src/Controller/EntityAutocompleteController.php The key value store.
EntityAutocompleteController::$matcher property core/modules/system/src/Controller/EntityAutocompleteController.php The autocomplete matcher for entity references.
EntityAutocompleteController::create function core/modules/system/src/Controller/EntityAutocompleteController.php Instantiates a new instance of this class.
EntityAutocompleteController::handleAutocomplete function core/modules/system/src/Controller/EntityAutocompleteController.php Autocomplete the label of an entity.
EntityAutocompleteController::__construct function core/modules/system/src/Controller/EntityAutocompleteController.php Constructs a EntityAutocompleteController object.
EntityAutocompleteElementFormTest class core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Tests the EntityAutocomplete Form API element.
EntityAutocompleteElementFormTest.php file core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::$referencedEntities property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php An array of entities to be referenced in this test.
EntityAutocompleteElementFormTest::$testAutocreateUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for autocreate testing.
EntityAutocompleteElementFormTest::$testUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for testing.
EntityAutocompleteElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Form constructor.
EntityAutocompleteElementFormTest::getAutocompleteInput function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Returns an entity label in the format needed by the EntityAutocomplete
element.
EntityAutocompleteElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Returns a unique string identifying the form.
EntityAutocompleteElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
EntityAutocompleteElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php Form submission handler.
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 a EntityAutocompleteMatcher object.
EntityAutocompleteMatcherInterface interface core/lib/Drupal/Core/Entity/EntityAutocompleteMatcherInterface.php
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::getAutocompleteResult function core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php Returns the result of an Entity reference autocomplete request.
EntityAutocompleteTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php
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.
EntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php Returns the cache tags that should be used to invalidate caches.
EntityBase::getListCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php The list cache tags to invalidate for this entity.
EntityBase::getOriginalId function core/lib/Drupal/Core/Entity/EntityBase.php Gets the original ID.
EntityBase::setOriginalId function core/lib/Drupal/Core/Entity/EntityBase.php Sets the original ID.
EntityBase::toArray function core/lib/Drupal/Core/Entity/EntityBase.php Gets an array of all property values.
EntityBase::toLink function core/lib/Drupal/Core/Entity/EntityBase.php Generates the HTML for a link to this entity.
EntityBase::toUrl function core/lib/Drupal/Core/Entity/EntityBase.php Gets the URL object for the entity.
EntityBase::uuidGenerator function core/lib/Drupal/Core/Entity/EntityBase.php Gets the UUID generator.
EntityBundleFieldTest::testCustomBundleFieldUsage function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleFieldTest.php Tests making use of a custom bundle field.
EntityBundleListenerTest::testOnBundleCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php @covers ::onBundleCreate
EntityChangedConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityChangedConstraintValidator.php Validates the EntityChanged constraint.

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