function cer_preset_enabled in Corresponding Entity References 7.2
Same name and namespace in other branches
- 7 cer.module \cer_preset_enabled()
Return 1 if CER preset specified by given key is enabled.
1 call to cer_preset_enabled()
- cer_settings_form in ./
cer.admin.inc - The settings form.
File
- ./
cer.module, line 170 - Main module file.
Code
function cer_preset_enabled($key) {
$preset = cer_preset_load($key);
return empty($preset) ? 0 : $preset->enabled;
}