function views_handler_field_node_registration_path::render in Node registration 7
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- includes/
views/ views_handler_field_node_registration_path.inc, line 38 - Handler for Node registration path field.
Class
- views_handler_field_node_registration_path
- @file Handler for Node registration path field.
Code
function render($values) {
$registration_id = $this
->get_value($values, 'registration_id');
$uri = node_registration_uri($registration_id);
$path = $uri['path'];
return url($path, array(
'absolute' => $this->options['absolute'],
));
}