From 814f4c8e3f739fcf3155bddf5ee9b726a165cfde Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 26 Dec 2009 12:48:14 +0000 Subject: - Patch #667040 by effulgentsia: optimize template_preprocess_field(). --- modules/field/theme/field.tpl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/field/theme') diff --git a/modules/field/theme/field.tpl.php b/modules/field/theme/field.tpl.php index 1c8be235d..069ed48fa 100644 --- a/modules/field/theme/field.tpl.php +++ b/modules/field/theme/field.tpl.php @@ -13,6 +13,7 @@ * CSS. It can be manipulated through the variable $classes_array from * preprocess functions. The default values can be one or more of the * following: + * - field: The current template type, i.e., "theming hook". * - field-name-[field_name]: The current field name. For example, if the * field name is "field_description" it would result in * "field-name-field-description". @@ -23,7 +24,6 @@ * * Other variables: * - $object: The object to which the field is attached. - * - $field: The field array. * - $build_mode: Build mode, e.g. 'full', 'teaser'... * - $field_name: The field name. * - $field_type: The field type. @@ -38,7 +38,7 @@ * @see template_preprocess_field() */ ?> -
> +
>
>
-- cgit v1.2.3