EntityAutocomplete::processEntityAutocomplete |
function |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
Adds entity autocomplete functionality to a form element. |
EntityAutocomplete::validateEntityAutocomplete |
function |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
Form element validation handler for entity_autocomplete elements. |
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 the implementing class using autowiring. |
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 an 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 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 an 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::$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. |
EntityBase |
class |
core/lib/Drupal/Core/Entity/EntityBase.php |
Defines a base entity class. |
EntityBase.php |
file |
core/lib/Drupal/Core/Entity/EntityBase.php |
|
EntityBase::$enforceIsNew |
property |
core/lib/Drupal/Core/Entity/EntityBase.php |
Boolean indicating whether the entity should be forced to be new. |
EntityBase::$entityTypeId |
property |
core/lib/Drupal/Core/Entity/EntityBase.php |
The entity type. |
EntityBase::$typedData |
property |
core/lib/Drupal/Core/Entity/EntityBase.php |
A typed data object wrapping this entity. |
EntityBase::access |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Checks data value access. |
EntityBase::bundle |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Gets the bundle of the entity. |
EntityBase::create |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Constructs a new entity object, without permanently saving it. |
EntityBase::createDuplicate |
function |
core/lib/Drupal/Core/Entity/EntityBase.php |
Creates a duplicate of the entity. |