You are here

function registration_test_api_registration_access in Entity Registration 8

Same name and namespace in other branches
  1. 8.2 tests/registration_test_api/registration_test_api.module \registration_test_api_registration_access()
  2. 7.2 tests/registration_test_api/registration_test_api.module \registration_test_api_registration_access()
  3. 7 tests/registration_test_api/registration_test_api.module \registration_test_api_registration_access()

Implements hook_registration_access().

File

tests/registration_test_api/registration_test_api.module, line 21
Test hooks for Registration module.

Code

function registration_test_api_registration_access($op, $entity_type, $registration, $account) {
  if (isset($registration->hook_registration_access)) {
    return $registration->hook_registration_access;
  }
}