| 1 |
<?php |
<?php |
| 2 |
// $Id: taxonomy.module,v 1.330.2.19 2009/05/13 19:41:57 drumm Exp $ |
// $Id: taxonomy.module,v 1.330.2.20 2009/05/13 19:49:11 drumm Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 57 |
* @return |
* @return |
| 58 |
* An internal Drupal path. |
* An internal Drupal path. |
| 59 |
*/ |
*/ |
|
|
|
| 60 |
function taxonomy_term_path($term) { |
function taxonomy_term_path($term) { |
| 61 |
$vocabulary = taxonomy_get_vocabulary($term->vid); |
$vocabulary = taxonomy_get_vocabulary($term->vid); |
| 62 |
if ($vocabulary->module != 'taxonomy' && $path = module_invoke($vocabulary->module, 'term_path', $term)) { |
if ($vocabulary->module != 'taxonomy' && $path = module_invoke($vocabulary->module, 'term_path', $term)) { |