You are here

function views_handler_field_nodelink_with_mark in Views (for Drupal 7) 5

1 string reference to 'views_handler_field_nodelink_with_mark'
user_views_default_views in modules/views_user.inc

File

modules/views_node.inc, line 420

Code

function views_handler_field_nodelink_with_mark($fieldinfo, $fielddata, $value, $data) {
  if ($fielddata['options'] == 'nolink') {
    $link = check_plain($value);
  }
  else {
    $link = l($value, "node/{$data->nid}");
  }
  return $link . ' ' . theme('mark', node_mark($data->nid, $data->node_changed));
}