Search for field_

  1. Search 7.x for field_
  2. Search 9.5.x for field_
  3. Search 8.9.x for field_
  4. Search 11.x for field_
  5. Other projects
Title Object type File name Summary
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/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Tests Field level access hooks.
FieldAccessTest class core/modules/field/tests/src/Functional/FieldAccessTest.php Tests Field access.
FieldAccessTest.php file core/modules/field/tests/src/Functional/FieldAccessTest.php
FieldAccessTest.php file core/tests/Drupal/KernelTests/Core/Field/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 The theme to install as the default for testing.
FieldAccessTest::$modules property core/modules/field/tests/src/Functional/FieldAccessTest.php Modules to install.
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().
FieldAccessTest::testFieldAccess function core/modules/field/tests/src/Functional/FieldAccessTest.php Tests that hook_entity_field_access() is called.
FieldApiDataTest class core/modules/views/tests/src/Kernel/FieldApiDataTest.php Tests the Field Views data.
FieldApiDataTest.php file core/modules/views/tests/src/Kernel/FieldApiDataTest.php
FieldApiDataTest::$modules property core/modules/views/tests/src/Kernel/FieldApiDataTest.php Modules to install.
FieldApiDataTest::$testViews property core/modules/views/tests/src/Kernel/FieldApiDataTest.php Views to be enabled.
FieldApiDataTest::getViewsData function core/modules/views/tests/src/Kernel/FieldApiDataTest.php Gets the views data for the field created in setUp().
FieldApiDataTest::setUp function core/modules/views/tests/src/Kernel/FieldApiDataTest.php
FieldApiDataTest::testEntityFieldFilter function core/modules/views/tests/src/Kernel/FieldApiDataTest.php Tests filtering entries with different translatability.
FieldApiDataTest::testViewsData function core/modules/views/tests/src/Kernel/FieldApiDataTest.php Unit testing the views data structure.
FieldAPIHandlerTrait trait core/modules/views/src/FieldAPIHandlerTrait.php A trait containing helper methods for field definitions.
FieldAPIHandlerTrait.php file core/modules/views/src/FieldAPIHandlerTrait.php
FieldAPIHandlerTrait::$entityFieldManager property core/modules/views/src/FieldAPIHandlerTrait.php The entity field manager.
FieldAPIHandlerTrait::$fieldDefinition property core/modules/views/src/FieldAPIHandlerTrait.php The field definition.
FieldAPIHandlerTrait::$fieldStorageDefinition property core/modules/views/src/FieldAPIHandlerTrait.php The field storage definition.
FieldAPIHandlerTrait::getEntityFieldManager function core/modules/views/src/FieldAPIHandlerTrait.php Returns the entity field manager.

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