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