public function views_handler_field_user::render in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 modules/user/views_handler_field_user.inc \views_handler_field_user::render()
- 6.2 modules/user/views_handler_field_user.inc \views_handler_field_user::render()
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- modules/
user/ views_handler_field_user.inc, line 59 - Definition of views_handler_field_user.
Class
- views_handler_field_user
- Field handler to provide simple renderer that allows linking to a user.
Code
public function render($values) {
$value = $this
->get_value($values);
return $this
->render_link($this
->sanitize_value($value), $values);
}