constant FIELD_LOAD_CURRENT

Load the most recent version of an entity's field data.

See also

field_attach_load().

Related topics

15 uses of FIELD_LOAD_CURRENT
BulkDeleteTest::testDeleteFieldInstance in drupal/core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
Verify that deleting an instance leaves the field data items in the database and that the appropriate Field API functions can operate on the deleted data and instance.
FieldAttachOtherTest::testFieldAttachCache in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
Test field cache.
FieldAttachStorageTest::testFieldAttachLoadMultiple in drupal/core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
Test the 'multiple' load feature.
FieldUpgradePathTest::testFieldUpgradeToConfig in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php
Tests migration of field and instance definitions to config.
field_attach_load in drupal/core/modules/field/field.attach.inc
Loads fields for the current revisions of a group of entities.

... See full list

File

drupal/core/modules/field/field.module, line 120
Attach custom data fields to Drupal entities.

Code

const FIELD_LOAD_CURRENT = 'FIELD_LOAD_CURRENT';