You are here

function bricks_process_field in Bricks​ 7.4

Same name and namespace in other branches
  1. 7.5 bricks.module \bricks_process_field()

Processes variables for theme_field().

File

./bricks.module, line 138

Code

function bricks_process_field(&$vars) {
  $element =& $vars['element'];
  if ($element['#field_name'] == 'field_body') {
    $vars['items'] = _bricks_tree_items($element, $vars['items']);
  }
}