| 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::setOriginal |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Sets the original unchanged entity. |
| 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::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Modules to install. |
| 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::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::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 |
Tests Entity Kernel Test Base. |
| 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 |
|
| EntityKeysTest::multipleKeysCacheTestCases |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
Data provider for ::testMultipleKeysCache. |
| EntityKeysTest::testMultipleKeysCache |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
Tests the cache when multiple keys reference a single field. |
| EntityLabel |
class |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Field handler to display entity label optionally linked to entity page. |
| EntityLabel.php |
file |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
|
| EntityLabel::$entityTypeManager |
property |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
EntityTypeManager class. |
| EntityLabel::$loadedReferencers |
property |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Array of entities that reference to file. |
| EntityLabel::buildOptionsForm |
function |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Default option form that provides label widget that all fields should have. |
| EntityLabel::create |
function |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Instantiates a new instance of the implementing class using autowiring. |
| EntityLabel::defineOptions |
function |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Information about options for all kinds of purposes will be held here. |
| EntityLabel::init |
function |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Initialize the plugin. |
| EntityLabel::preRender |
function |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Runs before any fields are rendered. |
| EntityLabel::render |
function |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Renders the field. |
| EntityLabel::__construct |
function |
core/modules/views/src/Plugin/views/field/EntityLabel.php |
Constructs an EntityLabel object. |
| EntityLabelTest |
class |
core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php |
Tests that entity type labels use sentence-case. |
| EntityLabelTest.php |
file |
core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php |
|
| EntityLabelTest::testEntityLabelCasing |
function |
core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php |
Tests that entity type labels use sentence-case. |
| EntityLanguageTestBase |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
Base class for language-aware entity tests. |
| EntityLanguageTestBase.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
|