EntityDefinitionTestTrait::addBundleField |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Adds a new bundle field to the 'entity_test_update' entity type. |
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::doFieldUpdate |
function |
core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php |
Performs a field storage definition update. |
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. |
EntityDefinitionUpdateManager::$entityFieldManager |
property |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
The entity field manager service. |
EntityDefinitionUpdateManager::$fieldStorageDefinitionListener |
property |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
The field storage definition listener service. |
EntityDefinitionUpdateManager::getFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Returns a field storage definition ready to be manipulated. |
EntityDefinitionUpdateManager::installFieldableEntityType |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Installs a new fieldable entity type definition. |
EntityDefinitionUpdateManager::installFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Installs a new field storage definition. |
EntityDefinitionUpdateManager::requiresFieldStorageSchemaChanges |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Checks if the changes to the storage definition requires schema changes. |
EntityDefinitionUpdateManager::uninstallFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php |
Uninstalls a field storage 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. |
EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Returns a field storage definition ready to be manipulated. |
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::uninstallFieldStorageDefinition |
function |
core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php |
Uninstalls a field storage 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. |
EntityDefinitionUpdateProviderTest::$entityFieldManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateProviderTest.php |
The entity field manager. |
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::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::$entityFieldManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
The entity field manager. |
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::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::testUpdateFieldableEntityTypeWithoutInCodeDefinition |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php |
Tests updating a fieldable entity type that doesn't exist in code anymore. |
EntityDenormalizerBase::$fieldManager |
property |
core/modules/jsonapi/src/Normalizer/EntityDenormalizerBase.php |
The entity field manager. |
EntityDisplayBase::$fieldDefinitions |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
A list of field definitions eligible for configuration in this display. |