EntityDefinitionUpdateManager::updateEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Applies any change performed to the passed entity type definition. |
EntityDefinitionUpdateManager::updateFieldableEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Applies any change performed to a fieldable entity type definition. |
EntityDefinitionUpdateManager::updateFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Applies any change performed to the passed field storage definition. |
EntityDefinitionUpdateManager::__construct |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Constructs a new EntityDefinitionUpdateManager. |
EntityDefinitionUpdateManagerInterface |
interface |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Defines an interface for managing entity definition updates. |
EntityDefinitionUpdateManagerInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
|
EntityDefinitionUpdateManagerInterface::DEFINITION_CREATED |
constant |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Indicates that a definition has just been created. |
EntityDefinitionUpdateManagerInterface::DEFINITION_DELETED |
constant |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Indicates that a definition has just been deleted. |
EntityDefinitionUpdateManagerInterface::DEFINITION_UPDATED |
constant |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Indicates that a definition has changes. |
EntityDefinitionUpdateManagerInterface::getChangeList |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Gets a list of changes to entity type and field storage definitions. |
EntityDefinitionUpdateManagerInterface::getChangeSummary |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Gets a human readable summary of the detected changes. |
EntityDefinitionUpdateManagerInterface::getEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Returns an entity type definition ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::getEntityTypes |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Returns all the entity type definitions, ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Returns a field storage definition ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::installEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Installs a new entity type definition. |
EntityDefinitionUpdateManagerInterface::installFieldableEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Installs a new fieldable entity type definition. |
EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Installs a new field storage definition. |
EntityDefinitionUpdateManagerInterface::needsUpdates |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Checks if there are any definition updates that need to be applied. |
EntityDefinitionUpdateManagerInterface::uninstallEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Uninstalls an entity type definition. |
EntityDefinitionUpdateManagerInterface::uninstallFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Uninstalls a field storage definition. |
EntityDefinitionUpdateManagerInterface::updateEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Applies any change performed to the passed entity type definition. |
EntityDefinitionUpdateManagerInterface::updateFieldableEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Applies any change performed to a fieldable entity type definition. |
EntityDefinitionUpdateManagerInterface::updateFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Applies any change performed to the passed field storage definition. |
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. |