constant FIELD_LOAD_CURRENT in Drupal 7
Age argument for loading the most recent version of an entity's field data with field_attach_load().
Related topics
12 uses of FIELD_LOAD_CURRENT
- FieldAttachOtherTestCase::testFieldAttachCache in modules/
field/ tests/ field.test - Test field cache.
- FieldAttachStorageTestCase::testFieldAttachLoadMultiple in modules/
field/ tests/ field.test - Test the 'multiple' load feature.
- FieldBulkDeleteTestCase::testDeleteFieldInstance in modules/
field/ tests/ field.test - 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.
- field_attach_load in modules/
field/ field.attach.inc - Loads fields for the current revisions of a group of entities.
- field_purge_batch in modules/
field/ field.crud.inc - Purges a batch of deleted Field API data, instances, or fields.
File
- modules/
field/ field.module, line 268 - Attach custom data fields to Drupal entities.
Code
define('FIELD_LOAD_CURRENT', 'FIELD_LOAD_CURRENT');