hosting.feature.migrate.inc

Expose the migrate feature to hostmaster.

Functions

File

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