function shurly_handler_field_shurly_link_test::render in ShURLy 6
File
- views/
shurly_handler_field_shurly_link_test.inc, line 37 - Shurly Views handler for test link
Class
- shurly_handler_field_shurly_link_test
- Field handler to present a link to the short URL entry.
Code
function render($values) {
$text = !empty($this->options['text']) ? $this->options['text'] : t('test');
$source = $values->shurly_source;
return _sl($text, $source, array(
'language',
));
}