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 install. |
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. |
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 |
EntityDefinitionUpdateTest::testInitialValue |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests adding a base field with initial values. |
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. |
EntityDisplayModeAddForm::validateForm |
function |
core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php |
Form validation handler. |
EntityDisplayTest::testEntityDisplayInvalidateCacheTags |
function |
core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php |
Ensure that entity view display changes invalidates cache tags. |
EntityFormDisplay::validateFormValues |
function |
core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php |
Validates submitted widget values and sets the corresponding form errors. |
EntityFormDisplayInterface::validateFormValues |
function |
core/lib/Drupal/Core/Entity/Display/EntityFormDisplayInterface.php |
Validates submitted widget values and sets the corresponding form errors. |
EntityHasFieldConstraintValidator::validate |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php |
|
EntityInterface::getCacheTagsToInvalidate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Returns the cache tags that should be used to invalidate caches. |
EntityOperations::entityUpdate |
function |
core/modules/content_moderation/src/EntityOperations.php |
|
EntityOperations::entityUpdate |
function |
core/modules/workspaces/src/EntityOperations.php |
Responds to updates to an entity. |
EntityOperations::updateOrCreateFromEntity |
function |
core/modules/content_moderation/src/EntityOperations.php |
Creates or updates the moderation state of an entity. |
EntityReference::$validatedExposedInput |
property |
core/modules/views/src/Plugin/views/filter/EntityReference.php |
Validated exposed input that will be set as the input value. |
EntityReference::validate |
function |
core/modules/views/src/Plugin/views/filter/EntityReference.php |
Validate that the plugin is correct and can be saved. |
EntityReference::validate |
function |
core/modules/views/src/Plugin/views/display/EntityReference.php |
Validate that the plugin is correct and can be saved. |
EntityReference::validateExposed |
function |
core/modules/views/src/Plugin/views/filter/EntityReference.php |
Validate the exposed handler form. |