function casetracker_views_field_viewProjectCases_link_handler in Case Tracker 5
Views field handler; Get a link to view all project cases
Parameters
array:
array:
mixed:
Return value
string
1 string reference to 'casetracker_views_field_viewProjectCases_link_handler'
- casetracker_views_tables in ./
casetracker_views.module - Implementation of hook_views_table().
File
- ./
casetracker_views.module, line 387 - Enables Views integration for Case Tracker.
Code
function casetracker_views_field_viewProjectCases_link_handler($fieldinfo, $fielddata, $value, $data) {
$linkText = $fielddata['options'] ? $linkText = $fielddata['options'] : t('View Cases');
return l($linkText, 'casetracker/cases/' . $data->nid . '/all');
}