You are here

function module_grants_test_number_get_grants in Module Grants 7

@file Dummy module implementing node access related hooks to test access interaction with the Module Grants module.

8 calls to module_grants_test_number_get_grants()
ModuleGrantsEntityTestCase::testNodeViewAllAccess in module_grants_entity/module_grants_entity.test
ModuleGrantsEntityTestCase::testViewAllNodesFunction in module_grants_entity/module_grants_entity.test
ModuleGrantsViewOpTestCase::doViewOpTestWithModuleGrantsOff in ./module_grants.test
ModuleGrantsViewOpTestCase::testViewOpWithModuleGrantsOnAndViewAll in ./module_grants.test
module_grants_test_number_module_grants_realm_function_register_alter in tests/module_grants_test_number.module
Implement hook_module_grants_realm_function_register

... See full list

File

tests/module_grants_test_number.module, line 10
Dummy module implementing node access related hooks to test access interaction with the Module Grants module.

Code

function module_grants_test_number_get_grants() {
  return array(
    'number' => array(
      'one' => 1,
      'two' => 2,
      'three' => 3,
    ),
  );
}