You are here

function domain_edit in Domain Access 5

Edit an existing domain record

Parameters

$domain_id: The unique id for this domain, taken from {domain}.

File

./domain_admin.inc, line 506
Administration functions for the domain module.

Code

function domain_edit($domain_id) {
  $domain = domain_lookup($domain_id);

  // We must do this from the default domain, in case the URL does not resolve.
  $default = domain_default();
  domain_goto($default);
  return drupal_get_form('domain_edit_form', $domain);
}