You are here

function tagadelic_nodeapi in Tagadelic 5

Same name and namespace in other branches
  1. 6 tagadelic.module \tagadelic_nodeapi()

Implementation of hook_nodeapi You will have a nice variable in $node available for processing tags!

File

./tagadelic.module, line 59

Code

function tagadelic_nodeapi(&$node, $op, $teaser, $page) {
  if ($op == 'load') {
    $node->tags = tagadelic_node_get_terms($node);
  }
}