You are here

function hostingService_Certificate_LetsEncrypt::form in Aegir HTTPS 7.3

Extend the server node form.

Parameters

A reference to the associative array of the subsection of the form: reserved for this service implementation.

File

submodules/letsencrypt/hosting_letsencrypt.service.inc, line 57
LetsEncrypt service implementation of the Certificate service type for the hosting front end.

Class

hostingService_Certificate_LetsEncrypt
An implementation of the certificate service type, registered with hook_hosting_service.

Code

function form(&$form) {
  parent::form($form);
  $form['letsencrypt_ca'] = array(
    '#type' => 'radios',
    '#options' => $this->letsencrypt_ca_options,
    '#title' => t("Let's Encrypt CA"),
    '#description' => t("Which LE Certificate Authority server to use."),
    '#size' => 40,
    '#default_value' => $this->letsencrypt_ca,
    '#maxlength' => 64,
    '#weight' => 5,
  );
}