function hosting_site_hosting_feature in Hosting 7.4
Same name and namespace in other branches
- 6.2 site/hosting.feature.site.inc \hosting_site_hosting_feature()
- 7.3 site/hosting.feature.site.inc \hosting_site_hosting_feature()
Implements hook_hosting_feature().
File
- site/
hosting.feature.site.inc, line 10 - Expose the site feature to hostmaster.
Code
function hosting_site_hosting_feature() {
$features['site'] = array(
'title' => t('Site administration'),
'description' => t('Create and manage sites.'),
'status' => HOSTING_FEATURE_REQUIRED,
'module' => 'hosting_site',
'node' => 'site',
'group' => 'required',
'role_permissions' => array(
'aegir platform manager' => array(
'administer sites',
'create site',
'delete site',
'edit site',
'view site',
),
'aegir account manager' => array(
'view site',
),
'aegir client' => array(
'create site',
'delete site',
'view site',
'edit site',
),
),
);
return $features;
}