You are here

function views_handler_field_nodelink in Views (for Drupal 7) 5

1 string reference to 'views_handler_field_nodelink'
statistics_views_default_views in modules/views_statistics.inc

File

modules/views_node.inc, line 400

Code

function views_handler_field_nodelink($fieldinfo, $fielddata, $value, $data) {
  if ($fielddata['options'] == 'nolink') {
    return check_plain($value);
  }
  return l($value, "node/{$data->nid}");
}