| SqlContentEntityStorageTest::testLoadMultiplePersistentCached |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests load multiple persistent cached. |
| SqlContentEntityStorageTest::testLoadMultiplePersistentCacheMiss |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests load multiple persistent cache miss. |
| SqlContentEntityStorageTest::testOnEntityTypeCreate |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests ContentEntityDatabaseStorage::onEntityTypeCreate(). |
| SqlContentEntityStorageTest::testSetTableMapping |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests that setting a new table mapping also updates the table names. |
| SqlEntityLoadingTest |
class |
core/modules/views/tests/src/Kernel/Plugin/SqlEntityLoadingTest.php |
Tests the loading of entities and entity revisions. |
| SqlEntityLoadingTest.php |
file |
core/modules/views/tests/src/Kernel/Plugin/SqlEntityLoadingTest.php |
|
| SqlEntityLoadingTest::$modules |
property |
core/modules/views/tests/src/Kernel/Plugin/SqlEntityLoadingTest.php |
Modules to install. |
| SqlEntityLoadingTest::$testViews |
property |
core/modules/views/tests/src/Kernel/Plugin/SqlEntityLoadingTest.php |
Views to be enabled. |
| SqlEntityLoadingTest::setUp |
function |
core/modules/views/tests/src/Kernel/Plugin/SqlEntityLoadingTest.php |
|
| SqlEntityLoadingTest::testViewWithNonDefaultPendingRevision |
function |
core/modules/views/tests/src/Kernel/Plugin/SqlEntityLoadingTest.php |
Tests entity loading with a non-default pending revision in Views. |
| SqlEntityStorageInterface |
interface |
core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php |
A common interface for SQL-based entity storage implementations. |
| SqlEntityStorageInterface.php |
file |
core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php |
|
| SqlEntityStorageInterface::getTableMapping |
function |
core/lib/Drupal/Core/Entity/Sql/SqlEntityStorageInterface.php |
Gets a table mapping for the entity's SQL tables. |
| SqlFieldableEntityTypeListenerTrait |
trait |
core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php |
Helper methods for EntityTypeListenerInterface. |
| SqlFieldableEntityTypeListenerTrait.php |
file |
core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php |
|
| SqlFieldableEntityTypeListenerTrait::copyData |
function |
core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php |
Copies entity data from the original storage to the temporary one. |
| SqlFieldableEntityTypeListenerTrait::handleEntityTypeSchemaUpdateExceptionOnDataCopy |
function |
core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php |
Handles the case when an error occurs during the data copying step. |
| SqlFieldableEntityTypeListenerTrait::onFieldableEntityTypeUpdate |
function |
core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php |
|
| SqlFieldableEntityTypeListenerTrait::postUpdateEntityTypeSchema |
function |
core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php |
Allows subscribers to do any cleanup necessary after data copying. |
| SqlFieldableEntityTypeListenerTrait::preUpdateEntityTypeSchema |
function |
core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php |
Allows subscribers to prepare their schema before data copying. |
| SqlTest::setupEntityTypeManager |
function |
core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php |
Sets up the entity type manager in the container. |
| SqlTest::setupEntityTypes |
function |
core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php |
Sets up some test entity types and corresponding views data. |
| SqlTest::testLoadEntitiesWithNonEntityRelationship |
function |
core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php |
Tests load entities with non entity relationship. |
| SqlTest::testLoadEntitiesWithRevisionOfSameEntityType |
function |
core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php |
Tests load entities with revision of same entity type. |
| StringFormatter::$entityTypeManager |
property |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php |
The entity type manager. |
| StringFormatter::getEntityUrl |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php |
Gets the URI elements of the entity. |
| StringFormatterTest::$entityType |
property |
core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php |
|
| StringFormatterTest::$entityTypeManager |
property |
core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php |
The entity type manager. |
| StringFormatterTest::providerAccessLinkToEntity |
function |
core/modules/field/tests/src/Unit/Plugin/Field/FieldFormatter/StringFormatterTest.php |
Data provider. |
| StringFormatterTest::renderEntityFields |
function |
core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php |
Renders fields of a given entity with a given display. |
| StringFormatterTest::testLinkToEntity |
function |
core/modules/field/tests/src/Unit/Plugin/Field/FieldFormatter/StringFormatterTest.php |
Checks link visibility depending on link templates and access. |
| StringIdEntityTest |
class |
core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php |
Defines a content entity type that has a string ID. |
| StringIdEntityTest.php |
file |
core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php |
|
| StringIdEntityTest::baseFieldDefinitions |
function |
core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php |
Provides base field definitions for an entity type. |
| StubConfigEntity |
class |
core/tests/Drupal/Tests/Core/Config/Entity/StubConfigEntity.php |
A stub extending ConfigEntityBase for testing purposes. |
| StubConfigEntity.php |
file |
core/tests/Drupal/Tests/Core/Config/Entity/StubConfigEntity.php |
|
| StubEntityBase |
class |
core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php |
A stub base entity for testing purposes. |
| StubEntityBase.php |
file |
core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php |
|
| StubEntityBase::$id |
property |
core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php |
The ID for the stub entity. |
| StubEntityBase::$label |
property |
core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php |
The label for the stub entity. |
| StubEntityBase::$langcode |
property |
core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php |
The language code for the stub entity. |
| StubEntityBase::$uuid |
property |
core/tests/Drupal/Tests/Core/Entity/StubEntityBase.php |
The UUID for the stub entity. |
| StubEntityHandlerBase |
class |
core/tests/Drupal/Tests/Core/Entity/StubEntityHandlerBase.php |
A stub base entity handler for testing purposes. |
| StubEntityHandlerBase.php |
file |
core/tests/Drupal/Tests/Core/Entity/StubEntityHandlerBase.php |
|
| StubEntityHandlerBase::$moduleHandler |
property |
core/tests/Drupal/Tests/Core/Entity/StubEntityHandlerBase.php |
The module handler to invoke hooks on. |
| StubEntityHandlerBase::$stringTranslation |
property |
core/tests/Drupal/Tests/Core/Entity/StubEntityHandlerBase.php |
The string translation service. |
| StubEntityStorageBase |
class |
core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php |
A stub base entity storage for testing purposes. |
| StubEntityStorageBase.php |
file |
core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php |
|
| StubEntityStorageBase::createInstance |
function |
core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php |
Instantiates a new instance of this entity handler. |
| StubEntityStorageBase::doDelete |
function |
core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php |
Performs storage-specific entity deletion. |