legacy_taxonomy_page

Versions
4.6 – 5
legacy_taxonomy_page($operation = 'or', $str_tids = '')

Menu callback; redirects users to new taxonomy page paths.

Code

modules/legacy.module, line 84

<?php
function legacy_taxonomy_page($operation = 'or', $str_tids = '') {
  if ($operation == 'or') {
    $str_tids = str_replace(',', '+', $str_tids);
  }
  drupal_goto('taxonomy/term/'. $str_tids);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.