1 views_handler_field_term_path.inc | views_handler_field_term_path::render($values) |
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field::render
File
- core/
modules/ taxonomy/ views/ views_handler_field_term_path.inc, line 42 - Handler for term path field.
Class
- views_handler_field_term_path
- Field handler to present the path to the term.
Code
function render($values) {
$tid = $this->get_value($values, 'tid');
if (!$tid) {
return '';
}
return url("taxonomy/term/$tid", array('absolute' => $this->options['absolute']));
}