You are here

function notifications_views_handler_field_delete_link::render in Notifications 6.4

Same name and namespace in other branches
  1. 6 notifications_views/notifications_views_handler_field_delete_link.inc \notifications_views_handler_field_delete_link::render()
  2. 6.2 notifications_views/notifications_views_handler_field_delete_link.inc \notifications_views_handler_field_delete_link::render()
  3. 6.3 notifications_views/notifications_views_handler_field_delete_link.inc \notifications_views_handler_field_delete_link::render()

File

notifications_views/notifications_views_handler_field_delete_link.inc, line 11

Class

notifications_views_handler_field_delete_link
Field handler that provides a link to delete the message.

Code

function render($values) {
  return l('delete', 'message/' . $values->mqid . '/delete', array(
    'query' => array(
      'destination' => $this->view->display_handler->options['path'],
    ),
  ));
}