You are here

function hostingService_https::form in Aegir HTTPS 7.3

File

./hosting_https.service.inc, line 40
Define Hosting service class for HTTPS.

Class

hostingService_https
@file Define Hosting service class for HTTPS.

Code

function form(&$form) {
  parent::form($form);
  $form['https_port'] = array(
    '#type' => 'textfield',
    '#title' => t('HTTPS Port'),
    '#required' => !empty($this->available),
    '#size' => 40,
    '#default_value' => isset($this->https_port) ? $this->https_port : '443',
    '#description' => t("The port that this service will use for encrypted traffic."),
    '#maxlength' => 255,
    '#weight' => -7,
  );
}