You are here

function _i18nmenu_delete_item in Internationalization 6

Delete a menu item translation.

2 calls to _i18nmenu_delete_item()
i18nmenu_item_delete_submit in i18nmenu/i18nmenu.module
Submit function for the delete button on the menu item editing form.
i18nmenu_nodeapi in i18nmenu/i18nmenu.module
Implementation of hook_nodeapi().

File

i18nmenu/i18nmenu.module, line 233
Internationalization (i18n) submodule: Menu translation.

Code

function _i18nmenu_delete_item($mlid) {
  i18nstrings_remove_string('menu:item:' . $mlid . ':title');
  i18nstrings_remove_string('menu:item:' . $mlid . ':description');
}