You are here

function nodequeue_handler_field_links::render in Nodequeue 6.2

Same name and namespace in other branches
  1. 7.3 includes/views/nodequeue_handler_field_links.inc \nodequeue_handler_field_links::render()
  2. 7.2 includes/views/nodequeue_handler_field_links.inc \nodequeue_handler_field_links::render()

File

includes/views/nodequeue_handler_field_links.inc, line 8
Views field handler for the nodequeue queue links

Class

nodequeue_handler_field_links
@file Views field handler for the nodequeue queue links

Code

function render($values) {
  if (user_access('manipulate queues') || user_access('manipulate all queues')) {
    $nid = $values->{$this->aliases['nid']};
    return theme('links', nodequeue_link('node', node_load($nid)));
  }
}