function page_manager_handler_delete
Rearrange the order of variants.
1 string reference to 'page_manager_handler_delete'
- page_manager_get_handler_operations in page_manager/
page_manager.admin.inc - Collect all the operations related to task handlers (variants) and build a menu.
File
-
page_manager/
page_manager.admin.inc, line 1627
Code
function page_manager_handler_delete($form, &$form_state) {
if ($form_state['handler']->type == t('Overridden')) {
$text = t('Reverting the variant will delete the variant that is in the database, reverting it to the original default variant. This deletion will not be made permanent until you click Save.');
}
else {
$text = t('Are you sure you want to delete this variant? This deletion will not be made permanent until you click Save.');
}
$form['markup'] = array(
'#markup' => '<p>' . $text . '</p>',
);
return $form;
}