nodequeue_handler_field_queue_tab.inc in Nodequeue 6.2
Same filename and directory in other branches
Views field handler for the nodequeue queue links
File
includes/views/nodequeue_handler_field_queue_tab.incView source
<?php
/**
* @file
* Views field handler for the nodequeue queue links
*/
class nodequeue_handler_field_queue_tab extends views_handler_field_node_link {
function render($values) {
$text = !empty($this->options['text']) ? $this->options['text'] : t('view');
$nid = $values->{$this->aliases['nid']};
return l($text, "node/{$nid}/nodequeue");
}
}
Classes
Name | Description |
---|---|
nodequeue_handler_field_queue_tab | @file Views field handler for the nodequeue queue links |