You are here

function uc_catalog_path in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_catalog/uc_catalog.module \uc_catalog_path()
  2. 5 uc_catalog/uc_catalog.module \uc_catalog_path()
  3. 6.2 uc_catalog/uc_catalog.module \uc_catalog_path()

Creates paths to the catalog from taxonomy term.

5 calls to uc_catalog_path()
uc_catalog_node_view in uc_catalog/uc_catalog.module
Implements hook_node_view().
uc_catalog_preprocess_link in uc_catalog/uc_catalog.module
Implements hook_preprocess_link().
uc_catalog_taxonomy_term_delete in uc_catalog/uc_catalog.module
Implements hook_taxonomy_term_delete().
_uc_catalog_navigation in uc_catalog/uc_catalog.module
Emulates Drupal's menu system, but based around the catalog taxonomy.
_uc_catalog_pathauto_alias in uc_catalog/uc_catalog.pathauto.inc
Creates aliases for taxonomy objects.

File

uc_catalog/uc_catalog.module, line 544
Ubercart Catalog module.

Code

function uc_catalog_path($term) {
  return 'catalog/' . $term->tid;
}