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