hosting.feature.clone.inc

Expose the clone feature to hostmaster.

Functions

File

clone/hosting.feature.clone.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Expose the clone feature to hostmaster.
  5. */
  6. /**
  7. * Implements hook_hosting_feature().
  8. */
  9. function hosting_clone_hosting_feature() {
  10. $features['clone'] = array(
  11. 'title' => t('Site cloning'),
  12. 'description' => t('Clone sites to platforms of the same or later version.'),
  13. 'status' => HOSTING_FEATURE_ENABLED,
  14. 'module' => 'hosting_clone',
  15. 'group' => 'optional',
  16. 'role_permissions' => array(
  17. 'aegir platform manager' => array(
  18. 'create clone task',
  19. ),
  20. 'aegir client' => array(
  21. 'create clone task',
  22. ),
  23. ),
  24. );
  25. return $features;
  26. }