You are here

function domain_delete in Domain Access 5

Same name and namespace in other branches
  1. 7.3 domain.module \domain_delete()
  2. 7.2 domain.module \domain_delete()

Delete a domain record.

Parameters

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

3 string references to 'domain_delete'
domain_batch_form_submit in ./domain_admin.inc
FormsAPI
domain_conf_domainbatch in domain_conf/domain_conf.module
Implement hook_domainbatch()
domain_theme_domainbatch in domain_theme/domain_theme.module
Implement hook_domainbatch()

File

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

Code

function domain_delete($domain_id) {
  $domain = domain_lookup($domain_id);
  return drupal_get_form('domain_delete_form', $domain);
}