function views_handler_field_bean_operations::render in Bean (for Drupal 7) 7
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- views/
views_handler_field_bean_operations.inc, line 31 - Definition of views_handler_field_bean_operations.
Class
- views_handler_field_bean_operations
- Field handler to present the contextual links of the bean block.
Code
function render($values) {
if ($entity = $this
->get_value($values)) {
return $this
->render_link($entity);
}
}