You are here

function hosting_clone_hosting_tasks in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 clone/hosting_clone.module \hosting_clone_hosting_tasks()
  2. 7.3 clone/hosting_clone.module \hosting_clone_hosting_tasks()

Implements hook_hosting_tasks().

File

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;
}