hook_field_attach_load

  1. drupal
    1. drupal7
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.

Verwandte Themen

Code

modules/field/field.api.php, line 515

<?php
function hook_field_attach_load($obj_type, &$objects, $age) { }
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen