function cer_profile2_disable in Corresponding Entity References 7.3
Implements hook_disable().
File
- extensions/
cer_profile2/ cer_profile2.install, line 6
Code
function cer_profile2_disable() {
foreach (entity_load('cer', FALSE) as $preset) {
if (_cer_profile2_is_profile2_preset($preset)) {
$preset->wrapper->cer_enabled
->set(FALSE);
}
}
}