| 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. |
| FieldApiDataTest::testEntityFieldFilter |
function |
core/modules/views/tests/src/Kernel/FieldApiDataTest.php |
Tests filtering entries with different translatability. |
| FieldAPIHandlerTrait::$entityFieldManager |
property |
core/modules/views/src/FieldAPIHandlerTrait.php |
The entity field manager. |
| FieldAPIHandlerTrait::getEntityFieldManager |
function |
core/modules/views/src/FieldAPIHandlerTrait.php |
Returns the entity field manager. |
| FieldAttachOtherTest::testEntityCache |
function |
core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php |
Tests entity cache. |
| FieldAttachOtherTest::testEntityDisplayBuild |
function |
core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php |
Tests rendering fields with EntityDisplay build(). |
| FieldAttachOtherTest::testEntityDisplayViewMultiple |
function |
core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php |
Tests rendering fields with EntityDisplay::buildMultiple(). |
| FieldAttachOtherTest::testEntityFormDisplayBuildForm |
function |
core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php |
Tests \Drupal\Core\Entity\Display\EntityFormDisplayInterface::buildForm(). |
| FieldAttachOtherTest::testEntityFormDisplayExtractFormValues |
function |
core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php |
Tests \Drupal\Core\Entity\Display\EntityFormDisplayInterface::extractFormValues(). |
| FieldAttachStorageTest::testEntityCreateBundle |
function |
core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php |
Tests entity_bundle_create(). |
| FieldAttachStorageTest::testEntityDeleteBundle |
function |
core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php |
Tests entity_bundle_delete(). |
| FieldBlock::$entityFieldManager |
property |
core/modules/layout_builder/src/Plugin/Block/FieldBlock.php |
The entity field manager. |
| FieldBlock::$entityTypeId |
property |
core/modules/layout_builder/src/Plugin/Block/FieldBlock.php |
The entity type ID. |
| FieldBlock::entityFieldHasDefaultValue |
function |
core/modules/layout_builder/src/Plugin/Block/FieldBlock.php |
Checks whether there is a default value set on the field. |
| FieldBlock::getEntity |
function |
core/modules/layout_builder/src/Plugin/Block/FieldBlock.php |
Gets the entity that has the field. |
| FieldBlockDeriver::$entityFieldManager |
property |
core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php |
The entity field manager. |
| FieldBlockDeriver::$entityTypeRepository |
property |
core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php |
The entity type repository. |