function certificate_field_grouping_machine_name_exists in Certificate 3.x
Same name and namespace in other branches
- 8.3 certificate.admin.inc \certificate_field_grouping_machine_name_exists()
- 7.3 certificate.admin.inc \certificate_field_grouping_machine_name_exists()
- 7.2 certificate.admin.inc \certificate_field_grouping_machine_name_exists()
Validate the fieldgroup machine name.
1 string reference to 'certificate_field_grouping_machine_name_exists'
- certificate_field_grouping_add_form in ./
certificate.admin.inc - Form to add a field grouping.
File
- ./
certificate.admin.inc, line 320 - Administrative pages for Certificate module.
Code
function certificate_field_grouping_machine_name_exists($value) {
$fieldgroups = variable_get('certificate_field_groups', array());
return isset($fieldgroups[$value]);
}