You are here

function views_handler_node_view in Views (for Drupal 7) 5

display a link to view a node

1 string reference to 'views_handler_node_view'
node_views_tables in modules/views_node.inc
This include file implements views functionality on behalf of node.module

File

modules/views_node.inc, line 864

Code

function views_handler_node_view($fieldinfo, $fielddata, $value, $data) {
  $link_text = $fielddata['options'] ? $fielddata['options'] : t('View');
  return l($link_text, "node/{$data->nid}");
}