You are here

function hostingService_Certificate_LetsEncrypt::view in Aegir HTTPS 7.3

Display settings on the server node page.

Parameters

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

File

submodules/letsencrypt/hosting_letsencrypt.service.inc, line 40
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 view(&$render) {
  parent::view($render);
  $render['letsencrypt_ca'] = array(
    '#type' => 'item',
    '#title' => t("Let's Encrypt CA"),
    // Remember to pass the display through filter_xss!
    '#markup' => filter_xss($this->letsencrypt_ca_options[$this->letsencrypt_ca]),
  );
}