You are here

function hosting_letsencrypt_hosting_feature in Aegir HTTPS 7.3

Implements hook_hosting_feature().

Register the letsencrypt hosting feature with Aegir, initially this feature will be disabled.

File

submodules/letsencrypt/hosting.feature.letsencrypt.inc, line 14
Expose the letsencrypt feature to hostmaster.

Code

function hosting_letsencrypt_hosting_feature() {
  $modules = system_rebuild_module_data();
  $features['letsencrypt'] = array(
    'title' => t("Let's Encrypt service"),
    'description' => $modules['hosting_letsencrypt']->info['description'],
    'status' => HOSTING_FEATURE_DISABLED,
    'module' => 'hosting_letsencrypt',
    'group' => 'optional',
  );
  return $features;
}