You are here

function nodequeue_handler_field_queue_tab::render in Nodequeue 6.2

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

File

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

Class

nodequeue_handler_field_queue_tab
@file Views field handler for the nodequeue queue links

Code

function render($values) {
  $text = !empty($this->options['text']) ? $this->options['text'] : t('view');
  $nid = $values->{$this->aliases['nid']};
  return l($text, "node/{$nid}/nodequeue");
}