function locale_translate_delete_page in Drupal 7
Same name and namespace in other branches
- 6 includes/locale.inc \locale_translate_delete_page()
String deletion confirmation page.
Related topics
1 string reference to 'locale_translate_delete_page'
- locale_menu in modules/
locale/ locale.module - Implements hook_menu().
File
- modules/
locale/ locale.admin.inc, line 1241 - Administration functions for locale.module.
Code
function locale_translate_delete_page($lid) {
if ($source = db_query('SELECT lid, source FROM {locales_source} WHERE lid = :lid', array(
':lid' => $lid,
))
->fetchObject()) {
return drupal_get_form('locale_translate_delete_form', $source);
}
return MENU_NOT_FOUND;
}