function video_views_handler_field_play in Video 5
Same name and namespace in other branches
- 6 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 191
Code
function video_views_handler_field_play($fieldinfo, $fielddata, $value, $data) {
$nid = $data->nid;
return l(t('Play'), "node/{$nid}/play", NULL);
}