You are here

function nodequeue_handler_field_queue_tab::render in Nodequeue 7.3

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

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field_node_link::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");
}