hosting.feature.clone.inc in Hosting 7.3
Same filename and directory in other branches
Expose the clone feature to hostmaster.
File
clone/hosting.feature.clone.incView source
<?php
/**
* @file
* Expose the clone feature to hostmaster.
*/
/**
* Implements hook_hosting_feature().
*/
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;
}
Functions
Name | Description |
---|---|
hosting_clone_hosting_feature | Implements hook_hosting_feature(). |