You are here

function notifications_views_handler_field_subscription_link::render in Notifications 7

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

notifications_views/includes/notifications_views_handler_field_subscription_link.inc, line 33

Class

notifications_views_handler_field_subscription_link
Field handler to present a link to the subscription.

Code

function render($values) {
  $value = $this
    ->get_value($values, 'sid');
  return $this
    ->render_link($this
    ->sanitize_value($value), $values);
}