You are here

function power_menu_taxonomy in Power Menu 7

Same name and namespace in other branches
  1. 6 power_menu.module \power_menu_taxonomy()

Implements hook_taxonomy().

Parameters

string $op:

string $type:

array $array:

File

./power_menu.module, line 532
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_delete('power_menu')
      ->condition('tid', $array['tid'])
      ->execute();
  }
}