template_process_field

Versions
7
template_process_field(&$variables)

Theme process function for field.tpl.php.

See also

field.tpl.php

Related topics

Code

modules/field/field.module, line 747

<?php
function template_process_field(&$variables) {
  // Flatten out attributes for each item.
  foreach ($variables['items'] as $delta => $item) {
    $variables['item_attributes'][$delta] = drupal_attributes($variables['item_attributes_array'][$delta]);
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.