You are here

public function hostingService_https::validate in Aegir HTTPS 7.3

File

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

Class

hostingService_https
@file Define Hosting service class for HTTPS.

Code

public function validate(&$node, &$form, &$form_state) {
  parent::validate($node, $form, $form_state);
  if ((int) $this->https_port <= 0) {
    form_set_error('https_port', t("The port you specify must be a number."));
  }
}