You are here

function video_views_handler_field_play in Video 6

Same name and namespace in other branches
  1. 5 views_video.inc \video_views_handler_field_play()

Handler to to render the "Play" link field

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

File

./views_video.inc, line 193

Code

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