You are here

function plus1_taxonomy_term_view_alter in Plus 1 7

Implements hook_taxonomy_term_view_alter().

File

./plus1.module, line 428

Code

function plus1_taxonomy_term_view_alter(&$build) {
  if (variable_get('plus1_taxonomy_term_widget_show', 0) && in_array($build['#term']->vid, variable_get('plus1_taxonomy_vocabularies', array()))) {
    $build['plus1_taxonomy_widget'] = plus1_build_taxonomy_term_jquery_widget($build['#term']->tid);
  }
}