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