You are here

class nodequeue_handler_field_links 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
  2. 7.2 includes/views/nodequeue_handler_field_links.inc \nodequeue_handler_field_links

@file Views field handler for the nodequeue queue links

Hierarchy

Expanded class hierarchy of nodequeue_handler_field_links

1 string reference to 'nodequeue_handler_field_links'
nodequeue_views_data_alter in includes/views/nodequeue.views.inc
Implementation of hook_views_data_alter().

File

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

View source
class nodequeue_handler_field_links extends views_handler_field_node_link {
  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)));
    }
  }

}

Members