| EntityDefinitionTestTrait::updateEntityTypeToNotRevisionable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Updates the 'entity_test_update' entity type not revisionable. |
| EntityDefinitionTestTrait::updateEntityTypeToNotTranslatable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Updates the 'entity_test_update' entity type to not translatable. |
| EntityDefinitionTestTrait::updateEntityTypeToRevisionable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Updates the 'entity_test_update' entity type to revisionable. |
| EntityDefinitionTestTrait::updateEntityTypeToRevisionableAndTranslatable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Updates the test entity type to be revisionable and translatable. |
| EntityDefinitionTestTrait::updateEntityTypeToTranslatable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Updates the 'entity_test_update' entity type to translatable. |
| EntityDefinitionUpdateTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests EntityDefinitionUpdateManager functionality. |
| EntityDefinitionUpdateTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
|
| EntityDefinitionUpdateTest::$database |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
The database connection. |
| EntityDefinitionUpdateTest::$entityDefinitionUpdateManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
The entity definition update manager. |
| EntityDefinitionUpdateTest::$entityFieldManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
The entity field manager. |
| EntityDefinitionUpdateTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Modules to enable. |
| EntityDefinitionUpdateTest::baseFieldDeleteWithExistingDataTestCases |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Test cases for ::testBaseFieldDeleteWithExistingData. |
| EntityDefinitionUpdateTest::initialValueFromFieldTestCases |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Test cases for ::testInitialValueFromField. |
| EntityDefinitionUpdateTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
|
| EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating and deleting a base field if entities exist. |
| EntityDefinitionUpdateTest::testBaseFieldCreateUpdateDeleteWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating, updating, and deleting a base field if no entities exist. |
| EntityDefinitionUpdateTest::testBaseFieldDeleteWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests deleting a base field when it has existing data. |
| EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating a base field when it has existing data. |
| EntityDefinitionUpdateTest::testBaseFieldUpdateWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating a base field when it has existing data. |
| EntityDefinitionUpdateTest::testBaseFieldWithoutLabelCreateUpdateDelete |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating, updating, and deleting a base field with no label set. |
| EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating and deleting a bundle field if entities exist. |
| EntityDefinitionUpdateTest::testBundleFieldCreateUpdateDeleteWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating, updating, and deleting a bundle field if no entities exist. |
| EntityDefinitionUpdateTest::testBundleFieldDeleteWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests deleting a bundle field when it has existing data. |
| EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating a bundle field when the entity type schema has changed. |
| EntityDefinitionUpdateTest::testBundleFieldUpdateWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating a bundle field when it has existing data. |
| EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Ensures that a new field and index on a shared table are created. |
| EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Ensures that a new entity level index is created when data exists. |
| EntityDefinitionUpdateTest::testDefinitionEvents |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests entity type and field storage definition events. |
| EntityDefinitionUpdateTest::testEntityIndexCreateDeleteWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating and deleting a multi-field index when there are no existing entities. |
| EntityDefinitionUpdateTest::testEntityIndexCreateWithData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating a multi-field index when there are existing entities. |
| EntityDefinitionUpdateTest::testEntityTypeUpdateWithEntityStorageChange |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating entity schema when there are entity storage changes. |
| EntityDefinitionUpdateTest::testEntityTypeUpdateWithoutData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating entity schema when there are no existing entities. |
| EntityDefinitionUpdateTest::testGetEntityTypes |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
@covers ::getEntityTypes[[api-linebreak]] |
| EntityDefinitionUpdateTest::testInitialValue |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests adding a base field with initial values. |
| EntityDefinitionUpdateTest::testInitialValueFromField |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests adding a base field with initial values inherited from another field. |
| EntityDefinitionUpdateTest::testInitialValueFromFieldErrorHandling |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests the error handling when using initial values from another field. |
| EntityDefinitionUpdateTest::testInstallAdditionalBaseFieldDuringFieldableEntityTypeInstallation |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests installing an additional base field while installing an entity type. |
| EntityDefinitionUpdateTest::testInstallFieldableEntityTypeWithoutInCodeDefinition |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests creating a fieldable entity type that doesn't exist in code anymore. |
| EntityDefinitionUpdateTest::testLongNameFieldIndexes |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Check that field schema is correctly handled with long-named fields. |
| EntityDefinitionUpdateTest::testNewEntityType |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests that new entity type definitions are correctly handled. |
| EntityDefinitionUpdateTest::testNoUpdates |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests when no definition update is needed. |
| EntityDefinitionUpdateTest::testSingleActionCalls |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests applying single updates. |
| EntityDefinitionUpdateTest::testUninstallEntityTypeWithoutInCodeDefinition |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests uninstalling an entity type that doesn't exist in code anymore. |
| EntityDefinitionUpdateTest::testUninstallRevisionableEntityTypeWithoutInCodeDefinition |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests uninstalling a revisionable entity type that doesn't exist in code. |
| EntityDefinitionUpdateTest::testUpdateEntityTypeWithoutInCodeDefinition |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating an entity type that doesn't exist in code anymore. |
| EntityDefinitionUpdateTest::testUpdateFieldableEntityTypeWithoutInCodeDefinition |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating a fieldable entity type that doesn't exist in code anymore. |
| EntityDeriverTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityDeriverTest.php |
Tests EntityDeriver functionality. |
| EntityDeriverTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityDeriverTest.php |
|
| EntityDeriverTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDeriverTest.php |
Modules to enable. |
| EntityDeriverTest::$typedDataManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDeriverTest.php |
The typed data manager to use. |