class nodequeue_handler_field_queue_tab in Nodequeue 6.2
Same name and namespace in other branches
- 7.3 includes/views/nodequeue_handler_field_queue_tab.inc \nodequeue_handler_field_queue_tab
- 7.2 includes/views/nodequeue_handler_field_queue_tab.inc \nodequeue_handler_field_queue_tab
@file Views field handler for the nodequeue queue links
Hierarchy
- class \nodequeue_handler_field_queue_tab extends \views_handler_field_node_link
Expanded class hierarchy of nodequeue_handler_field_queue_tab
1 string reference to 'nodequeue_handler_field_queue_tab'
- nodequeue_views_data_alter in includes/
views/ nodequeue.views.inc - Implementation of hook_views_data_alter().
File
- includes/
views/ nodequeue_handler_field_queue_tab.inc, line 7 - Views field handler for the nodequeue queue links
View source
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");
}
}