function yashare_taxonomy_term_view_alter in Yandex.Share 7
Implements hook_taxonomy_term_view_alter().
File
- ./
yashare.module, line 54
Code
function yashare_taxonomy_term_view_alter(&$build) {
$build['yashare'] = yashare_build('taxonomy-term-' . $build['#term']->tid . '-' . $build['#view_mode'], 'taxonomy/term/' . $build['#term']->tid, $build['#term']->name);
}