function NodeAccessRecordsTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
node/ node.test, line 1085
Class
- NodeAccessRecordsTestCase
- Tests hook_node_access_records() functionality.
Code
function setUp() {
// Enable dummy module that implements hook_node_grants(),
// hook_node_access_records(), hook_node_grants_alter() and
// hook_node_access_records_alter().
parent::setUp('node_test');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.