You are here

function hosting_alias_form_alter in Hostmaster (Aegir) 6

Implementation of hook_form_alter().

Add a textbox to site node forms with a newline separated list of aliases to the site

File

modules/hosting/alias/hosting_alias.module, line 55
Allow sites to have domain aliases that they can be accessed with.

Code

function hosting_alias_form_alter(&$form, $form_state, $form_id) {
  if ($form_id == 'site_node_form') {
    return hosting_alias_form_data($form);
  }
}