function views_test_test_dynamic_access_callback in Views (for Drupal 7) 7.3
2 string references to 'views_test_test_dynamic_access_callback'
- ViewsAccessTest::testDynamicAccessPlugin in tests/
views_access.test - Tests dynamic access plugin.
- views_test_plugin_access_test_dynamic::get_access_callback in tests/
test_plugins/ views_test_plugin_access_test_dynamic.inc - Determine the access callback and arguments.
File
- tests/
views_test.module, line 52 - Helper module for Views tests.
Code
function views_test_test_dynamic_access_callback($access, $argument1, $argument2) {
return $access && $argument1 == variable_get('test_dynamic_access_argument1', NULL) && $argument2 == variable_get('test_dynamic_access_argument2', NULL);
}