| EntityDefinitionTestTrait::addEntityIndex |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Adds an index to the 'entity_test_update' entity type's base table. |
| EntityDefinitionTestTrait::addLongNameBaseField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Adds a long-named base field to the 'entity_test_update' entity type. |
| EntityDefinitionTestTrait::addRevisionableBaseField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Adds a new revisionable base field to the 'entity_test_update' entity type. |
| EntityDefinitionTestTrait::applyEntityUpdates |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Applies all the detected valid changes. |
| EntityDefinitionTestTrait::deleteEntityType |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Removes the entity type. |
| EntityDefinitionTestTrait::doEntityUpdate |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Performs an entity type definition update. |
| EntityDefinitionTestTrait::doFieldUpdate |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Performs a field storage definition update. |
| EntityDefinitionTestTrait::enableNewEntityType |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Enables a new entity type definition. |
| EntityDefinitionTestTrait::getUpdatedEntityTypeDefinition |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Returns an entity type definition, possibly updated to be rev or mul. |
| EntityDefinitionTestTrait::getUpdatedFieldStorageDefinitions |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Returns the required rev / mul field definitions for an entity type. |
| EntityDefinitionTestTrait::makeBaseFieldEntityKey |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Promotes a field to an entity key. |
| EntityDefinitionTestTrait::modifyBaseField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Modifies the new base field from 'string' to 'text'. |
| EntityDefinitionTestTrait::modifyBundleField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Modifies the new bundle field from 'string' to 'text'. |
| EntityDefinitionTestTrait::removeBaseField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Removes the new base field from the 'entity_test_update' entity type. |
| EntityDefinitionTestTrait::removeBaseFieldIndex |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Removes the index added in addBaseFieldIndex(). |
| EntityDefinitionTestTrait::removeBundleField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Removes the new bundle field from the 'entity_test_update' entity type. |
| EntityDefinitionTestTrait::removeEntityIndex |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Removes the index added in addEntityIndex(). |
| EntityDefinitionTestTrait::renameBaseTable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Renames the base table to 'entity_test_update_new'. |
| EntityDefinitionTestTrait::renameDataTable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Renames the data table to 'entity_test_update_data_new'. |
| EntityDefinitionTestTrait::renameRevisionBaseTable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Renames the revision table to 'entity_test_update_revision_new'. |
| EntityDefinitionTestTrait::renameRevisionDataTable |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Renames the revision data table to 'entity_test_update_revision_data_new'. |
| EntityDefinitionTestTrait::resetEntityType |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Resets the entity type definition. |
| 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. |
| EntityDefinitionUpdateProviderTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
Tests EntityDefinitionUpdateManager functionality. |
| EntityDefinitionUpdateProviderTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
|
| EntityDefinitionUpdateProviderTest::$database |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
The database connection. |
| EntityDefinitionUpdateProviderTest::$entityDefinitionUpdateManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
The entity definition update manager. |
| EntityDefinitionUpdateProviderTest::$entityFieldManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
The entity field manager. |
| EntityDefinitionUpdateProviderTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
|
| EntityDefinitionUpdateProviderTest::baseFieldDeleteWithExistingDataTestCases |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
Test cases for ::testBaseFieldDeleteWithExistingData. |
| EntityDefinitionUpdateProviderTest::initialValueFromFieldTestCases |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
Test cases for ::testInitialValueFromField. |
| EntityDefinitionUpdateProviderTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
|
| EntityDefinitionUpdateProviderTest::testBaseFieldDeleteWithExistingData |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
Tests deleting a base field when it has existing data. |
| EntityDefinitionUpdateProviderTest::testInitialValueFromField |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
Tests adding a base field with initial values inherited from another field. |
| 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 |
|
| 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::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. |