| Versionen | |
|---|---|
| drupal7 | hook_field_attach_load($obj_type, &$objects, $age) |
Act on field_attach_load.
This hook is invoked after the field module has performed the operation.
Unlike other field_attach hooks, this hook accounts for 'multiple loads'. It takes an array of objects indexed by object id as its first parameter. For performance reasons, information for all available objects should be loaded in a single query where possible.
Note that the changes made to the objects' field values get cached by the field cache for subsequent loads.
See field_attach_load() for details and arguments.
modules/
<?php
function hook_field_attach_load($obj_type, &$objects, $age) { }
?>
Kommentare
Kommentar hinzufügen