diff options
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r-- | modules/field/field.api.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 24f5e5839..4accf941f 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -657,10 +657,10 @@ function hook_field_attach_delete_revision($obj_type, $object) { * The type of $object; e.g. 'node' or 'user'. * @param $object * The object with fields to render. - * @param $teaser - * Whether to display the teaser only, as on the main page. + * @param $build_mode + * Build mode, e.g. 'full', 'teaser'... */ -function hook_field_attach_view_alter($output, $obj_type, $object, $teaser) { +function hook_field_attach_view_alter($output, $obj_type, $object, $build_mode) { } /** |