| Versionen | |
|---|---|
| drupal7 | hook_field_storage_load($obj_type, &$objects, $age, $skip_fields) |
Load field data for a set of objects.
$obj_type The entity type of object, such as 'node' or 'user'.
$objects The array of objects for which to load data, keyed by object id.
$age FIELD_LOAD_CURRENT to load the most recent revision for all fields, or FIELD_LOAD_REVISION to load the version indicated by each object.
$skip_fields An array keyed by names of fields whose data has already been loaded and therefore should not be loaded again. The values associated to these keys are not specified.
Loaded field values are added to $objects. Fields with no values should be set as an empty array.
modules/
<?php
function hook_field_storage_load($obj_type, &$objects, $age, $skip_fields) { }
?>
Kommentare
Kommentar hinzufügen