function views_handler_field_system_info_project::render_link in Views System 6.2
Same name and namespace in other branches
- 6.3 views/handlers/views_handler_field_system_info_project.inc \views_handler_field_system_info_project::render_link()
- 7.3 views/handlers/views_handler_field_system_info_project.inc \views_handler_field_system_info_project::render_link()
1 call to views_handler_field_system_info_project::render_link()
File
- views/
handlers/ views_handler_field_system_info_project.inc, line 59 - Views field handler for the views_system module.
Class
- views_handler_field_system_info_project
- Provides display options and renders the project field of the system item.
Code
function render_link($data, $values) {
if (!empty($this->options['system_info_project_link']) && $data !== NULL && $data !== '') {
$this->options['alter']['make_link'] = TRUE;
$this->options['alter']['path'] = strtr($this->options['system_info_project_link_path'], array(
'[project]' => $data['project'],
));
}
return $data['project'];
}