function nodequeue_node_view in Nodequeue 7.2
Same name and namespace in other branches
- 7.3 nodequeue.module \nodequeue_node_view()
Implements hook_node_view().
File
- ./
nodequeue.module, line 333 - Maintains queues of nodes in arbitrary order.
Code
function nodequeue_node_view($node, $view_mode) {
$links = nodequeue_node_links($node);
if (!empty($links)) {
$node->content['links']['nodequeue'] = array(
'#links' => $links,
'#theme' => 'links__node__nodequeue',
);
}
}