Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdates function core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php @covers ::updateFieldableEntityType[[api-linebreak]]
@dataProvider providerTestFieldableEntityTypeUpdates
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.
FieldableEntityStorageInterface.php file core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php
FieldableEntityStorageInterface::countFieldData function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Determines the number of entities with values for a given field.
FieldableEntityStorageInterface::finalizePurge function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Performs final cleanup after all data of a field has been purged.
FieldableEntityStorageInterface::purgeFieldData function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Purges a batch of field data.
FieldAccessTest class core/modules/field/tests/src/Functional/FieldAccessTest.php Tests Field access.
FieldAccessTest class core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Tests Field level access hooks.
FieldAccessTest.php file core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
FieldAccessTest.php file core/modules/field/tests/src/Functional/FieldAccessTest.php
FieldAccessTest::$activeUid property core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Holds the currently active global user ID that initiated the test run.
FieldAccessTest::$defaultTheme property core/modules/field/tests/src/Functional/FieldAccessTest.php
FieldAccessTest::$modules property core/modules/field/tests/src/Functional/FieldAccessTest.php Modules to enable.
FieldAccessTest::$modules property core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Modules to load code from.
FieldAccessTest::$node property core/modules/field/tests/src/Functional/FieldAccessTest.php Node entity to use in this test.
FieldAccessTest::$testViewFieldValue property core/modules/field/tests/src/Functional/FieldAccessTest.php Field value to test display on nodes.
FieldAccessTest::setUp function core/modules/field/tests/src/Functional/FieldAccessTest.php
FieldAccessTest::setUp function core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
FieldAccessTest::testFieldAccess function core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Tests hook_entity_field_access() and hook_entity_field_access_alter().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.