function bricks_process_field in Bricks 7.5
Same name and namespace in other branches
- 7.4 bricks.module \bricks_process_field()
Processes variables for theme_field().
File
- ./
bricks.module, line 156
Code
function bricks_process_field(&$vars) {
$element =& $vars['element'];
$field = field_info_field($element['#field_name']);
if (_bricks_field_is_treeable($field)) {
$vars['items'] = _bricks_tree_items($element, $vars['items']);
}
}