function _multifield_show_only_if_visible_children in Multifield 7
Same name and namespace in other branches
- 7.2 multifield.field.inc \_multifield_show_only_if_visible_children()
1 string reference to '_multifield_show_only_if_visible_children'
- multifield_field_widget_form in ./
multifield.field.inc - Implements hook_field_widget_form().
File
- ./
multifield.field.inc, line 638 - Field integration for the Multifield module.
Code
function _multifield_show_only_if_visible_children($elements) {
if (!element_get_visible_children($elements)) {
$elements['#printed'] = TRUE;
}
return $elements;
}