You are here

function hosting_package_hosting_feature in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 package/hosting.feature.package.inc \hosting_package_hosting_feature()
  2. 7.4 package/hosting.feature.package.inc \hosting_package_hosting_feature()

Implements hook_hosting_feature().

File

package/hosting.feature.package.inc, line 10
Expose the package feature to hostmaster.

Code

function hosting_package_hosting_feature() {
  $features['package'] = array(
    'title' => t('Package management'),
    'description' => t('Keep track of which packages have been installed, and their versions.'),
    'status' => HOSTING_FEATURE_REQUIRED,
    'module' => 'hosting_package',
    'node' => 'package',
    'group' => 'required',
    'role_permissions' => array(
      'aegir platform manager' => array(
        'view package',
      ),
      'aegir client' => array(
        'view package',
      ),
    ),
  );
  return $features;
}