You are here

function notifications_anonymous_url in Notifications 6.4

Create signed URLs for all pages

File

notifications_anonymous/notifications_anonymous.module, line 263
Notifications for anonymous users

Code

function notifications_anonymous_url($url, $options = array()) {
  $elements = explode('/', $url);
  $options += array(
    'absolute' => TRUE,
  );
  $options['query']['signature'] = _notifications_signature($elements);
  return url($url, $options);
}