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