You are here

function biblio_ui_handler_edit::render in Bibliography Module 7.3

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/biblio_ui/includes/views/handlers/biblio_ui_handler_edit.inc, line 7

Class

biblio_ui_handler_edit
Edit button for a biblio entry.

Code

function render($values) {
  if (user_access('edit by all biblio authors')) {
    return l(t('Edit'), 'biblio/' . $values->bid . '/edit');
  }
}