You are here

function video_views_handler_field_download in Video 6

Same name and namespace in other branches
  1. 5 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 184

Code

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