function redirect_redirect_operations in Redirect 7.2
Same name and namespace in other branches
- 7 redirect.module \redirect_redirect_operations()
Implements hook_redirect_operations().
File
- ./
redirect.module, line 1752
Code
function redirect_redirect_operations() {
$operations['delete'] = array(
'action' => t('Delete'),
'action_past' => t('Deleted'),
'callback' => 'redirect_delete_multiple',
'confirm' => TRUE,
);
$operations['disable'] = array(
'action' => t('Disable'),
'action_past' => t('Disabled'),
'callback' => 'redirect_change_status_multiple',
'callback arguments' => array(
0,
),
'confirm' => TRUE,
);
$operations['enable'] = array(
'action' => t('Enable'),
'action_past' => t('Enabled'),
'callback' => 'redirect_change_status_multiple',
'callback arguments' => array(
1,
),
'confirm' => TRUE,
);
return $operations;
}