notifications_views_handler_field_subscription_link_edit.inc in Notifications 7
File
notifications_views/includes/notifications_views_handler_field_subscription_link_edit.inc
View source
<?php
class notifications_views_handler_field_subscription_link_edit extends notifications_views_handler_field_subscription_link {
function render_link($data, $values) {
$this->options['alter']['make_link'] = TRUE;
$this->options['alter']['path'] = "notifications/subscription/" . $this
->get_value($values, 'sid') . "/edit";
$this->options['alter']['query'] = drupal_get_destination();
$text = !empty($this->options['text']) ? $this->options['text'] : t('edit');
return $text;
}
}