| Versionen | |
|---|---|
| drupal7 | hook_field_attach_view_alter($output, $obj_type, $object, $teaser) |
Act on field_attach_view.
This hook is invoked after the field module has performed the operation.
$output The structured content array tree for all of $object's fields.
$obj_type The type of $object; e.g. 'node' or 'user'.
$object The object with fields to render.
$teaser Whether to display the teaser only, as on the main page.
modules/
<?php
function hook_field_attach_view_alter($output, $obj_type, $object, $teaser) { }
?>
Kommentare
Kommentar hinzufügen