function conditional_fields_get_group in Conditional Fields 6.2
Same name and namespace in other branches
- 6 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_after_build in ./
conditional_fields.module - Main tasks:
File
- ./
conditional_fields.module, line 887 - 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);
}