You are here

function hosting_alias_hosting_feature in Hosting 7.3

Same name and namespace in other branches
  1. 5 alias/hosting.feature.alias.inc \hosting_alias_hosting_feature()
  2. 6.2 alias/hosting.feature.alias.inc \hosting_alias_hosting_feature()
  3. 7.4 alias/hosting.feature.alias.inc \hosting_alias_hosting_feature()

Implements hook_hosting_feature().

File

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

Code

function hosting_alias_hosting_feature() {
  $features['alias'] = array(
    'title' => t('Site aliasing'),
    'description' => t('Provide multiple domain names for sites to be accessible by.'),
    'status' => HOSTING_FEATURE_ENABLED,
    'module' => 'hosting_alias',
    'group' => 'optional',
    'role_permissions' => array(
      'aegir client' => array(
        'create site aliases',
      ),
    ),
  );
  return $features;
}