You are here

function video_views_handler_field_download in Video 5

Same name and namespace in other branches
  1. 6 views_video.inc \video_views_handler_field_download()

Handler to to render the "Download" link field

1 string reference to 'video_views_handler_field_download'
video_views_tables in ./views_video.inc
Implementation of hook_views_tables

File

./views_video.inc, line 182

Code

function video_views_handler_field_download($fieldinfo, $fielddata, $value, $data) {
  $nid = $data->nid;
  return l(t('Download'), "node/{$nid}/download", NULL);
}