You are here

function spaces_views_handler_field_nodelink in Spaces 5

Same name and namespace in other branches
  1. 5.2 spaces_dashboard/spaces_dashboard.module \spaces_views_handler_field_nodelink()
1 string reference to 'spaces_views_handler_field_nodelink'
_spaces_dashboard_views_group_dashboard in spaces_dashboard/spaces_dashboard.module

File

spaces_dashboard/spaces_dashboard.module, line 203

Code

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