function nat_node_load in Node Auto Term [NAT] 7
Same name and namespace in other branches
- 7.2 nat.module \nat_node_load()
Implements hook_node_load().
File
- ./
nat.module, line 113 - NAT - node auto term - is a helper module that automatically creates a term using the same title as a node.
Code
function nat_node_load($nodes, $types) {
foreach ($nodes as $node) {
if (_nat_check($node)) {
$nodes[$node->nid]->nat = nat_get_terms($node->nid);
}
}
}