function cer_invert_preset in Corresponding Entity References 7.3
Permanently inverts a preset (i.e., deletes the original). This callback is defined by CerUIController::hook_menu().
1 string reference to 'cer_invert_preset'
- CerUIController::hook_menu in includes/
CerUIController.inc - Provides definitions for implementing hook_menu().
File
- ./
cer.admin.inc, line 75
Code
function cer_invert_preset(CerPreset $original) {
$original
->invert()
->save();
$original
->delete();
drupal_goto(isset($_GET['destination']) ? $_GET['destination'] : 'admin/config/content/cer');
}