Community Documentation

legacy_taxonomy_page

5 legacy.module legacy_taxonomy_page($operation = 'or', $str_tids = '')

Menu callback; redirects users to new taxonomy page paths.

File

modules/legacy/legacy.module, line 81
Provides legacy handlers for upgrades from older Drupal installations.

Code

<?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