hosting.feature.alias.inc

Expose the alias feature to hostmaster.

Functions

File

alias/hosting.feature.alias.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Expose the alias feature to hostmaster.
  5. */
  6. /**
  7. * Implements hook_hosting_feature().
  8. */
  9. function hosting_alias_hosting_feature() {
  10. $features['alias'] = array(
  11. 'title' => t('Site aliasing'),
  12. 'description' => t('Provide multiple domain names for sites to be accessible by.'),
  13. 'status' => HOSTING_FEATURE_ENABLED,
  14. 'module' => 'hosting_alias',
  15. 'group' => 'optional',
  16. 'role_permissions' => array(
  17. 'aegir client' => array(
  18. 'create site aliases',
  19. ),
  20. ),
  21. );
  22. return $features;
  23. }