function domain_locale_reset in Domain Locale 6
Same name and namespace in other branches
- 7 domain_locale.admin.inc \domain_locale_reset()
Resets locale settings by setting them to default domain settings in {domain_locale}.
Parameters
$domain: The $domain object created by domain_lookup().
Return value
A confirmation form.
1 string reference to 'domain_locale_reset'
- domain_locale_menu in ./
domain_locale.module - Implementation of hook_menu().
File
- ./
domain_locale.admin.inc, line 148 - Provides admin functionality for domain specific language settings
Code
function domain_locale_reset($domain) {
if ($domain == -1) {
return t('An invalid request has been made.');
}
return drupal_get_form('domain_locale_reset_form', $domain);
}