function _taxonomy_menu_delete_item in Taxonomy menu 8
Same name and namespace in other branches
- 6.2 taxonomy_menu.database.inc \_taxonomy_menu_delete_item()
- 7.2 taxonomy_menu.database.inc \_taxonomy_menu_delete_item()
- 7 taxonomy_menu.database.inc \_taxonomy_menu_delete_item()
Delete all rows from {taxomony_menu} associated with this term ID and vocabulary ID.
Parameters
$vid: The vocabulary ID.
$tid: The term ID.
1 call to _taxonomy_menu_delete_item()
- _taxonomy_menu_termapi_helper in ./
taxonomy_menu.module - Abstraction of hook_termapi_<op>().
File
- ./
taxonomy_menu.database.inc, line 171 - Database functions.
Code
function _taxonomy_menu_delete_item($vid, $tid) {
db_delete('taxonomy_menu')
->condition('vid', $vid)
->condition('tid', $tid)
->execute();
}