hosting.feature.ssl.inc

Register this module as a Hosting feature.

Functions

File

web_server/ssl/hosting.feature.ssl.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Register this module as a Hosting feature.
  5. */
  6. /**
  7. * Implements hook_hosting_feature().
  8. */
  9. function hosting_ssl_hosting_feature() {
  10. $features['ssl'] = array(
  11. 'title' => t('SSL support'),
  12. 'description' => t('Provides a service to expose a site encrypted by SSL certificates.'),
  13. 'status' => HOSTING_FEATURE_DISABLED,
  14. 'module' => 'hosting_ssl',
  15. 'group' => 'optional',
  16. 'role_permissions' => array(
  17. 'aegir client' => array(
  18. 'create ssl certificate',
  19. ),
  20. ),
  21. 'enable' => 'hosting_ssl_feature_enable_callback',
  22. );
  23. return $features;
  24. }