You are here

function power_menu_taxonomy in Power Menu 6

Same name and namespace in other branches
  1. 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'
_power_menu_get_node_location_taxonomy in ./power_menu.module

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']);
  }
}