You are here

hosting.feature.alias.inc in Hosting 7.3

Expose the alias feature to hostmaster.

File

alias/hosting.feature.alias.inc
View source
<?php

/**
 * @file
 * Expose the alias feature to hostmaster.
 */

/**
 * Implements hook_hosting_feature().
 */
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;
}

Functions