function hosting_clone_hosting_tasks in Hostmaster (Aegir) 6
Implementation of hook_hosting_tasks().
File
- modules/
hosting/ clone/ hosting_clone.module, line 10 - Allow sites to be cloned.
Code
function hosting_clone_hosting_tasks() {
$options = array();
$options['site']['clone'] = array(
'title' => t('Clone'),
'description' => t('Make a copy of a site.'),
'weight' => 5,
'dialog' => TRUE,
);
return $options;
}