function power_menu_taxonomy in Power Menu 6
Same name and namespace in other branches
- 7 power_menu.module \power_menu_taxonomy()
Implementation of hook_taxonomy().
Parameters
string $op:
string $type:
array $array:
1 string reference to 'power_menu_taxonomy'
File
- ./
power_menu.module, line 525 - This module provides some additional menu features. The features are not actually new, but are part of other modules. it's though very cumbersome to creating a new menu item, because one has to go to all the different places to configure these…
Code
function power_menu_taxonomy($op, $type, $array = NULL) {
if ($op == 'delete' && $type == 'term') {
db_query("DELETE FROM {power_menu} WHERE tid = %d", $array['tid']);
}
}