You are here

function hostingService_http_ssl::form in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 web_server/ssl/hosting_ssl.service.inc \hostingService_http_ssl::form()
  2. 7.3 web_server/ssl/hosting_ssl.service.inc \hostingService_http_ssl::form()

Overrides hostingService::form

File

web_server/ssl/hosting_ssl.service.inc, line 26

Class

hostingService_http_ssl

Code

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