As the title says, how can I execute code after a taxonomy term is deleted. Drupal 7 has a hook_taxonomy_term_delete, but this function is not available for 6. Does anyone know a work around?
Drupal 6 - execute code after taxonomy term delete
152 Views Asked by user2511309 At
1
There are 1 best solutions below
Related Questions in DRUPAL-6
- Condtional Timeout Configuration on Centos7 to avoid Gateway Timeout Error
- How to remove or disable " Subject " In Comments Field in Drupal 10
- %20 in URL is now causing ERROR 403 FORBIDDEN Errors
- x264 [error]: baseline profile doesn't support 4:2:2 ,with ffmpeg php
- Drupal 6 and GlobalPayments HPP Integration
- Make img embed script work with drupal ajax
- Docker container cannot connect to the host machine database
- Docker container can't connect to the host machine database
- drupal 6 site setup in local it's redirecting to production site
- How to iterate this.value in javascript
- data in body not getting passed while consuming rest post web service in my custom drupal module
- Need answer for drupal question for upwork test
- Drupal 6 with latest version php
- Drupal form design without using associative arrays
- Drupal 6 site re-indexing not happening
Related Questions in DRUPAL-TAXONOMY
- Drupal 10, Taxonomy term View:
- Drupal 9 - Add new terms to existing field programatically
- How to limit the search level in the Drupal taxonomy?
- Getting Taxonomy term name from target ID - D9
- Drupal views: bring nodes with taxonomy term X to top
- How do you configure views block based on node reference in Drupal 8/9?
- hook_form_FORM_ID_alter: Pre select a checkbox from an exposed filter in a drupal 8 view
- Drupal 7 view display description of term
- Drupal 7 add fields to show in RSS feed for taxonomy
- Drupal 8 Taxonomy Terms same level
- import taxonomy term based on url alias from csv(around 6000 records)
- Drupal: Hide taxonomy tags without images
- drupal 7 taxonomy_vocabulary_machine_name_load did not show the fields
- node_save() failing when creating node programatically
- Drupal - Get custom taxonomy fields
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The corresponding hook in D6 is just called
hook_taxonomy.It is called thusly:
hook_taxonomy($op, $type, $array = NULL)where:$opis one of'delete','insert','update'$typeis one of'vocabulary','term',$arrayis the thing that$opis being done to.So in your case an example implementation of that hook would go like this: