function domain_locale_delete_domain in Domain Locale 7
Same name and namespace in other branches
- 6 domain_locale.module \domain_locale_delete_domain()
Remove all language settings from {domain_locale} for a domain.
Parameters
int $domain_id:
4 calls to domain_locale_delete_domain()
- domain_locale_domain_delete in ./
domain_locale.module - Implements hook_domain_delete().
- domain_locale_form_submit in ./
domain_locale.admin.inc - FormsAPI submit handler for domain language settings
- domain_locale_reset_form_submit in ./
domain_locale.admin.inc - FormsAPI for domain_locale_reset_form.
- drush_domain_locale_set in ./
domain_locale.drush.inc - Add a language to a site.
File
- ./
domain_locale.module, line 76 - Provides domain specific language settings.
Code
function domain_locale_delete_domain($domain_id) {
db_delete('domain_locale')
->condition('domain_id', $domain_id)
->execute();
}