You are here

function conditional_fields_fieldgroup_post_render in Conditional Fields 6.2

post_render function to make fieldgroup wrapping themeable

1 string reference to 'conditional_fields_fieldgroup_post_render'
conditional_fields_item_apply_theme in ./conditional_fields.module
Insert appropriate themeing functions in a conditional field form element.

File

./conditional_fields.module, line 1195
Content fields and groups visibility based on the values of user defined 'trigger' fields.

Code

function conditional_fields_fieldgroup_post_render($content, $item) {
  return theme('conditional_fields_wrapper', $content, $item['#group_id'], array(
    'conditional-field',
    ' controlled-field',
  ));
}