You are here

function domain_theme_reset in Domain Access 7.3

Same name and namespace in other branches
  1. 5 domain_theme/domain_theme.module \domain_theme_reset()
  2. 6.2 domain_theme/domain_theme.admin.inc \domain_theme_reset()
  3. 7.2 domain_theme/domain_theme.admin.inc \domain_theme_reset()

Resets theme settings by removing the domain row from {domain_theme}.

Parameters

$domain: The $domain object created by domain_lookup().

Return value

A confirmation form.

1 string reference to 'domain_theme_reset'
domain_theme_menu in domain_theme/domain_theme.module
Implements hook_menu()

File

domain_theme/domain_theme.admin.inc, line 184
Include file to handle theme configuration screen

Code

function domain_theme_reset($domain) {
  if ($domain == -1) {
    return t('An invalid request has been made.');
  }
  return drupal_get_form('domain_theme_reset_form', $domain);
}