function domain_conf_reset in Domain Access 5
Same name and namespace in other branches
- 6.2 domain_conf/domain_conf.admin.inc \domain_conf_reset()
- 7.3 domain_conf/domain_conf.admin.inc \domain_conf_reset()
- 7.2 domain_conf/domain_conf.admin.inc \domain_conf_reset()
Resets configuration settings by removing the domain row from {domain_conf}.
Parameters
$domain_id: The domain_id of the requested domain.
Return value
A confirmation form.
1 string reference to 'domain_conf_reset'
- domain_conf_menu in domain_conf/
domain_conf.module - Implement hook_menu()
File
- domain_conf/
domain_conf.module, line 314 - Domain manager configuration options.
Code
function domain_conf_reset($domain_id) {
$domain = domain_lookup($domain_id);
if ($domain == -1) {
return t('An invalid request has been made.');
}
return drupal_get_form('domain_conf_reset_form', $domain);
}