You are here

function tagadelic_nodeapi in Tagadelic 6

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

Implements hook_nodeapi().

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

File

./tagadelic.module, line 68

Code

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