You are here

hosting.feature.letsencrypt.inc in Aegir HTTPS 7.3

Expose the letsencrypt feature to hostmaster.

File

submodules/letsencrypt/hosting.feature.letsencrypt.inc
View source
<?php

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

/**
 * Implements hook_hosting_feature().
 *
 * Register the letsencrypt hosting feature with Aegir, initially this feature
 * will be disabled.
 */
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;
}

Functions