function registration_anonymous_link_get in Entity Registration 7
Same name and namespace in other branches
- 7.2 registration.module \registration_anonymous_link_get()
Get a full link to view an anonymous registration, with access hash.
For backwards-compatibility with longstanding issue queue solution.
1 string reference to 'registration_anonymous_link_get'
File
- ./
registration.module, line 302
Code
function registration_anonymous_link_get($registration, $options = array(), $name = "", $type = "") {
// Create a link that can be used to access an anonymously created event from anywhere.
$path = entity_uri('registration', $registration);
$url = url($path['path'] . '/view/' . registration_anonymous_access_hash($registration), array(
'absolute' => TRUE,
));
return $url;
}