You are here

function hosting_ssl_hosting_feature in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 web_server/ssl/hosting.feature.ssl.inc \hosting_ssl_hosting_feature()
  2. 7.4 web_server/ssl/hosting.feature.ssl.inc \hosting_ssl_hosting_feature()

Implements hook_hosting_feature().

File

web_server/ssl/hosting.feature.ssl.inc, line 10
Register this module as a Hosting feature.

Code

function hosting_ssl_hosting_feature() {
  $features['ssl'] = array(
    'title' => t('SSL support'),
    'description' => t('Provides a service to expose a site encrypted by SSL certificates. (LEGACY, see hosting_https)'),
    'status' => HOSTING_FEATURE_DISABLED,
    'module' => 'hosting_ssl',
    'group' => 'optional',
    'role_permissions' => array(
      'aegir client' => array(
        'create ssl certificate',
      ),
    ),
    'enable' => 'hosting_ssl_feature_enable_callback',
  );
  return $features;
}