FieldableEntityDefinitionUpdateTest::$entityDefinitionUpdateManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
The entity definition update manager. |
FieldableEntityDefinitionUpdateTest::$entityFieldManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
The entity field manager. |
FieldableEntityDefinitionUpdateTest::$entityTypeId |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
The ID of the entity type used in this test. |
FieldableEntityDefinitionUpdateTest::$entityTypeManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
The entity type manager. |
FieldableEntityDefinitionUpdateTest::$installedStorageSchema |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
The key-value collection for tracking installed storage schema. |
FieldableEntityDefinitionUpdateTest::$lastInstalledSchemaRepository |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
The last installed schema repository service. |
FieldableEntityDefinitionUpdateTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Modules to install. |
FieldableEntityDefinitionUpdateTest::$testEntities |
property |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
An array of entities are created during the test. |
FieldableEntityDefinitionUpdateTest::assertBackupTables |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts that the backup tables have been kept after a successful update. |
FieldableEntityDefinitionUpdateTest::assertBundleFieldSchema |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts that the bundle field schema is correct. |
FieldableEntityDefinitionUpdateTest::assertEntityData |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts test entity data after a fieldable entity type update. |
FieldableEntityDefinitionUpdateTest::assertEntityTypeSchema |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts revisionable and/or translatable characteristics of an entity type. |
FieldableEntityDefinitionUpdateTest::assertNonRevisionableAndNonTranslatable |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts that an entity type is neither revisionable nor translatable. |
FieldableEntityDefinitionUpdateTest::assertRevisionable |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts the revisionable characteristics of an entity type. |
FieldableEntityDefinitionUpdateTest::assertRevisionableAndTranslatable |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts the revisionable / translatable characteristics of an entity type. |
FieldableEntityDefinitionUpdateTest::assertTranslatable |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Asserts the translatable characteristics of an entity type. |
FieldableEntityDefinitionUpdateTest::insertData |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Generates test entities for the 'entity_test_update' entity type. |
FieldableEntityDefinitionUpdateTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
|
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesErrorHandling |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Tests that a failed entity schema update preserves the existing data. |
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesRemoveBackupTables |
function |
core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php |
Tests the removal of the backup tables after a successful update. |
FieldableEntityInterface |
interface |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Interface for entities having fields. |
FieldableEntityInterface.php |
file |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
|
FieldableEntityInterface::baseFieldDefinitions |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Provides base field definitions for an entity type. |
FieldableEntityInterface::bundleFieldDefinitions |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Provides field definitions for a specific bundle. |
FieldableEntityInterface::get |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Gets a field item list. |
FieldableEntityInterface::getFieldDefinition |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Gets the definition of a contained field. |
FieldableEntityInterface::getFieldDefinitions |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Gets an array of field definitions of all contained fields. |
FieldableEntityInterface::getFields |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Gets an array of all field item lists. |
FieldableEntityInterface::getTranslatableFields |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Gets an array of field item lists for translatable fields. |
FieldableEntityInterface::hasField |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Determines whether the entity has a field with the given name. |
FieldableEntityInterface::isValidationRequired |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Checks whether entity validation is required before saving the entity. |
FieldableEntityInterface::onChange |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Reacts to changes to a field. |
FieldableEntityInterface::set |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Sets a field value. |
FieldableEntityInterface::setValidationRequired |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Sets whether entity validation is required before saving the entity. |
FieldableEntityInterface::toArray |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Gets an array of all field values. |
FieldableEntityInterface::validate |
function |
core/lib/Drupal/Core/Entity/FieldableEntityInterface.php |
Validates the currently set values. |
FieldableEntityNormalizerTrait |
trait |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
A trait for providing fieldable entity normalization/denormalization methods. |
FieldableEntityNormalizerTrait.php |
file |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
|
FieldableEntityNormalizerTrait::$entityFieldManager |
property |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
The entity field manager. |
FieldableEntityNormalizerTrait::$entityTypeManager |
property |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
The entity type manager. |
FieldableEntityNormalizerTrait::$entityTypeRepository |
property |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
The entity type repository. |
FieldableEntityNormalizerTrait::constructValue |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Build the field item value using the incoming data. |
FieldableEntityNormalizerTrait::denormalizeFieldData |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Denormalizes entity data by denormalizing each field individually. |
FieldableEntityNormalizerTrait::determineEntityTypeId |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Determines the entity type ID to denormalize as. |
FieldableEntityNormalizerTrait::extractBundleData |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Denormalizes the bundle property so entity creation can use it. |
FieldableEntityNormalizerTrait::getEntityFieldManager |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Returns the entity field manager. |
FieldableEntityNormalizerTrait::getEntityTypeDefinition |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Gets the entity type definition. |
FieldableEntityNormalizerTrait::getEntityTypeManager |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Returns the entity type manager. |
FieldableEntityNormalizerTrait::getEntityTypeRepository |
function |
core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php |
Returns the entity type repository. |
FieldableEntityStorageInterface |
interface |
core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php |
A storage that supports entity types with field definitions. |