hook_field_storage_load

  1. drupal
    1. drupal7
Versionen
drupal7 hook_field_storage_load($obj_type, &$objects, $age, $skip_fields)

Load field data for a set of objects.

Übergabeparameter

$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.

Rückgabewert

Loaded field values are added to $objects. Fields with no values should be set as an empty array.

Verwandte Themen

Code

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

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

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