function hosting_site_node_operations in Hosting 6.2
Implements hook_node_operations().
File
- site/
hosting_site.module, line 339
Code
function hosting_site_node_operations() {
$operations = array();
$operations['hosting-site-backup'] = array(
'label' => t('Site: Backup'),
'callback' => 'hosting_site_op_backup',
);
$operations['hosting-site-verify'] = array(
'label' => t('Site: Verify'),
'callback' => 'hosting_site_op_verify',
);
$operations['hosting-site-disable'] = array(
'label' => t('Site: Disable'),
'callback' => 'hosting_site_op_disable',
);
$operations['hosting-site-enable'] = array(
'label' => t('Site: Enable'),
'callback' => 'hosting_site_op_enable',
);
$operations['hosting-site-delete'] = array(
'label' => t('Site: Delete'),
'callback' => 'hosting_site_op_delete',
);
$operations['hosting-site-login-reset'] = array(
'label' => t('Site: Reset password'),
'callback' => 'hosting_site_op_login_reset',
);
return $operations;
}