EntityApiTest::assertCRUD |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php |
Executes a test set for a defined entity type and user. |
EntityApiTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php |
|
EntityApiTest::testCRUD |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php |
Tests basic CRUD functionality of the Entity API. |
EntityApiTest::testEntityStorageExceptionHandling |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php |
Tests that exceptions are thrown when saving or deleting an entity. |
EntityApiTest::testLoadMultiple |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php |
Tests that the Entity storage loads the entities in the correct order. |
EntityApiTest::testUpdateWithId |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php |
Tests that resaving an entity with a different entity ID throws an exception. |
EntityApiTest::testUpdateWithRevisionId |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php |
Tests that resaving a revision with a different revision ID throws an exception. |
EntityAutocomplete |
class |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
Provides an entity autocomplete form element. |
EntityAutocomplete.php |
file |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
|
EntityAutocomplete::extractEntityIdFromAutocompleteInput |
function |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
Extracts the entity ID from the autocompletion result. |
EntityAutocomplete::getEntityLabels |
function |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
Converts an array of entity objects into a string of entity labels. |
EntityAutocomplete::getInfo |
function |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
Returns the element properties for this element. |
EntityAutocomplete::matchEntityByTitle |
function |
core/lib/Drupal/Core/Entity/Element/EntityAutocomplete.php |
Finds an entity from an autocomplete input without an explicit ID. |
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 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 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. |