EntityInterface::getCacheTagsToInvalidate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Returns the cache tags that should be used to invalidate caches. |
EntityInterface::getConfigDependencyKey |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the key that is used to store configuration dependencies. |
EntityInterface::getConfigDependencyName |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the configuration dependency name. |
EntityInterface::getConfigTarget |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the configuration target identifier for the entity. |
EntityInterface::getEntityType |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the entity type definition. |
EntityInterface::getEntityTypeId |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the ID of the type of the entity. |
EntityInterface::getOriginalId |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the original ID. |
EntityInterface::getTypedData |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets a typed data object for this entity object. |
EntityInterface::hasLinkTemplate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Indicates if a link template exists for a given key. |
EntityInterface::id |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the identifier. |
EntityInterface::isNew |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Determines whether the entity is new. |
EntityInterface::label |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the label of the entity. |
EntityInterface::language |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the language of the entity. |
EntityInterface::load |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Loads an entity. |
EntityInterface::loadMultiple |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Loads one or more entities. |
EntityInterface::postCreate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Acts on a created entity before hooks are invoked. |
EntityInterface::postDelete |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Acts on deleted entities before the delete hook is invoked. |
EntityInterface::postLoad |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Acts on loaded entities. |
EntityInterface::postSave |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Acts on a saved entity before the insert or update hook is invoked. |
EntityInterface::preCreate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Changes the values of an entity before it is created. |
EntityInterface::preDelete |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Acts on entities before they are deleted and before hooks are invoked. |
EntityInterface::preSave |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Acts on an entity before the presave hook is invoked. |
EntityInterface::referencedEntities |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets a list of entities referenced by this entity. |
EntityInterface::save |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Saves an entity permanently. |
EntityInterface::setOriginalId |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Sets the original ID. |
EntityInterface::toArray |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets an array of all property values. |
EntityInterface::toLink |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Generates the HTML for a link to this entity. |
EntityInterface::toUrl |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the URL object for the entity. |
EntityInterface::uriRelationships |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets a list of URI relationships supported by this entity. |
EntityInterface::uuid |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the entity UUID (Universally Unique Identifier). |
EntityKernelTestBase |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Defines an abstract test base for entity kernel tests. |
EntityKernelTestBase.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
|
EntityKernelTestBase::$entityTypeManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
The entity type manager service. |
EntityKernelTestBase::$generatedIds |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
A list of generated identifiers. |
EntityKernelTestBase::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Modules to enable. |
EntityKernelTestBase::$state |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
The state service. |
EntityKernelTestBase::createUser |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Creates a user. |
EntityKernelTestBase::generateRandomEntityId |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Generates a random ID avoiding collisions. |
EntityKernelTestBase::getHooksInfo |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Returns the entity_test hook invocation info. |
EntityKernelTestBase::installModule |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Installs a module and refreshes services. |
EntityKernelTestBase::refreshServices |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Refresh services. |
EntityKernelTestBase::reloadEntity |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Reloads the given entity from the storage and returns it. |
EntityKernelTestBase::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
|
EntityKernelTestBase::uninstallModule |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Uninstalls a module and refreshes services. |
EntityKernelTestBaseTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
@covers \Drupal\KernelTests\Core\Entity\EntityKernelTestBase[[api-linebreak]] |
EntityKernelTestBaseTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
|
EntityKernelTestBaseTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
|
EntityKernelTestBaseTest::testSetUpCurrentUser |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
Tests that the current user is set up correctly. |
EntityKeysTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
Test the behavior of entity keys. |
EntityKeysTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
|