function hosting_migrate_hosting_feature in Hosting 7.4
Same name and namespace in other branches
- 5 migrate/hosting.feature.migrate.inc \hosting_migrate_hosting_feature()
- 6.2 migrate/hosting.feature.migrate.inc \hosting_migrate_hosting_feature()
- 7.3 migrate/hosting.feature.migrate.inc \hosting_migrate_hosting_feature()
Implements hook_hosting_feature().
File
- migrate/
hosting.feature.migrate.inc, line 10 - Expose the migrate feature to hostmaster.
Code
function hosting_migrate_hosting_feature() {
$features['sitemigrate'] = array(
'title' => t('Site migration'),
'description' => t('Migrate sites to platforms of the same or later version.'),
'status' => HOSTING_FEATURE_ENABLED,
'module' => 'hosting_migrate',
'group' => 'optional',
'role_permissions' => array(
'aegir platform manager' => array(
'create migrate task',
),
'aegir client' => array(
'create migrate task',
),
),
);
return $features;
}