function certificate_types in Certificate 8.3
Same name and namespace in other branches
- 7.3 certificate.module \certificate_types()
1 call to certificate_types()
1 string reference to 'certificate_types'
File
- ./
certificate.module, line 957 - Certificate module.
Code
function certificate_types($type_name = NULL) {
$types = entity_load_multiple_by_name('certificate_type', isset($type_name) ? array(
$type_name,
) : FALSE);
return isset($type_name) ? reset($types) : $types;
}