function hostingService_http_ssl::form in Hosting 7.4
Same name and namespace in other branches
- 6.2 web_server/ssl/hosting_ssl.service.inc \hostingService_http_ssl::form()
- 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 40 - Define Hosting service class for SSL.
Class
- hostingService_http_ssl
- @file Define Hosting service class for SSL.
Code
function form(&$form) {
parent::form($form);
$form['ssl_port'] = array(
'#type' => 'textfield',
'#title' => t('SSL Port'),
'#required' => !empty($this->available),
'#size' => 40,
'#default_value' => isset($this->ssl_port) ? $this->ssl_port : '443',
'#description' => t("The port that this service will use for encrypted traffic."),
'#maxlength' => 255,
'#weight' => -7,
);
}