You are here

function forum_crumbs_plugins in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 plugins/crumbs.forum.inc \forum_crumbs_plugins()
  2. 7.2 plugins/crumbs.forum.inc \forum_crumbs_plugins()
  3. 7 plugins/crumbs.forum.inc \forum_crumbs_plugins()

Implementation of hook_crumbs_plugins()

File

plugins/crumbs.forum.inc, line 7

Code

function forum_crumbs_plugins() {
  $forum_vid = variable_get('forum_nav_vocabulary', NULL);
  if ($forum_vid) {
    return array(
      'hierarchy' => new _forum_CrumbsPlugin__hierarchy(),
      'term_node' => new _forum_CrumbsPlugin__term_node($forum_vid),
      'term_name' => new _forum_CrumbsPlugin__term_name(),
      'admin' => new _forum_CrumbsPlugin__admin(),
    );
  }
}