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 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::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 |
|
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 |
Creates an instance of the plugin. |
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 |
|
EntityLanguageTestBase::$fieldName |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
The test field name. |
EntityLanguageTestBase::$langcodes |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
The available language codes. |
EntityLanguageTestBase::$languageManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
The language manager service. |