function shortcut_uninstall
Implements hook_uninstall().
Archivo
- drupal-7.x/
modules/ shortcut/ shortcut.install, line 41 - Install, update and uninstall functions for the shortcut module.
Código
function shortcut_uninstall() {
drupal_load('module', 'shortcut');
// Delete the menu links associated with each shortcut set.
foreach (shortcut_sets() as $shortcut_set) {
menu_delete_links($shortcut_set->set_name);
}
}