function conditional_fields_get_group in Conditional Fields 6
Same name and namespace in other branches
- 6.2 conditional_fields.module \conditional_fields_get_group()
Get the fieldgroup of a field
3 calls to conditional_fields_get_group()
- conditional_fields_content_admin_field in ./
conditional_fields.module - Alteration of the field editing form
- conditional_fields_nodeapi in ./
conditional_fields.module - Implementation of hook_nodeapi().
- conditional_fields_node_editing_form in ./
conditional_fields.module - Alteration of the node editing form
File
- ./
conditional_fields.module, line 712 - Content fields and groups visibility based on the values of user defined 'trigger' fields.
Code
function conditional_fields_get_group($type_name, $field_name) {
if (!module_exists('fieldgroup')) {
return FALSE;
}
return fieldgroup_get_group($type_name, $field_name);
}