| SqlContentEntityStorageTest::setUpMockEntityType |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Reinitializes the entity type as a mock object. |
| SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Sets up the module handler with no implementations. |
| SqlContentEntityStorageTest::testCleanIds |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests entity ID sanitization. |
| SqlContentEntityStorageTest::testCreate |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests create. |
| SqlContentEntityStorageTest::testDeleteFromDedicatedTablesExecutesOneDelete |
function |
core/tests/Drupal/KernelTests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests that only one SQL DELETE is executed on dedicated data tables. |
| SqlContentEntityStorageTest::testGetBaseTable |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests SqlContentEntityStorage::getBaseTable(). |
| SqlContentEntityStorageTest::testGetDataTable |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests SqlContentEntityStorage::getDataTable(). |
| SqlContentEntityStorageTest::testGetRevisionDataTable |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests SqlContentEntityStorage::getRevisionDataTable(). |
| SqlContentEntityStorageTest::testGetRevisionTable |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests SqlContentEntityStorage::getRevisionTable(). |
| SqlContentEntityStorageTest::testGetTableMappingEmpty |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with an empty entity type. |
| SqlContentEntityStorageTest::testGetTableMappingRevisionable |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a revisionable, non-translatable entity type. |
| SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatable |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a revisionable, translatable entity type. |
| SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatableWithFields |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a complex entity type with fields. |
| SqlContentEntityStorageTest::testGetTableMappingRevisionableWithFields |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a revisionable entity type with fields. |
| SqlContentEntityStorageTest::testGetTableMappingSimple |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a simple entity type. |
| SqlContentEntityStorageTest::testGetTableMappingSimpleWithDedicatedStorageFields |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a base field that requires a dedicated table. |
| SqlContentEntityStorageTest::testGetTableMappingSimpleWithFields |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a simple entity type with some base fields. |
| SqlContentEntityStorageTest::testGetTableMappingTranslatable |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a non-revisionable, translatable entity type. |
| SqlContentEntityStorageTest::testGetTableMappingTranslatableWithFields |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests getTableMapping() with a translatable entity type with fields. |
| SqlContentEntityStorageTest::testHasData |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests has data. |
| SqlContentEntityStorageTest::testLoadMultipleNoPersistentCache |
function |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
Tests load multiple no persistent cache. |
| 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. |