You are here

function registration_access_check_redirect in Entity Registration 7

Same name and namespace in other branches
  1. 7.2 registration.module \registration_access_check_redirect()

Helper function to run a hashed URL through a permissions check first.

1 string reference to 'registration_access_check_redirect'
registration_menu in ./registration.module
Implements hook_menu().

File

./registration.module, line 312

Code

function registration_access_check_redirect($registration, $function) {
  drupal_goto('registration/' . $registration
    ->identifier() . '/' . $function);
}