You are here

function _taxonomy_CrumbsPlugin::define in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 plugins/crumbs.taxonomy.inc \_taxonomy_CrumbsPlugin::define()

File

plugins/crumbs.taxonomy.inc, line 16

Class

_taxonomy_CrumbsPlugin

Code

function define($h) {
  foreach (taxonomy_get_vocabularies() as $voc_id => $voc) {
    $h
      ->addRule('voc_' . $voc_id, 'Vocabulary: ' . $voc->name);
  }
}