1 taxonomy.test | protected TaxonomyQueryAlterTestCase::setupQueryTagTestHooks() |
Sets up the hooks in the test module.
File
- core/
modules/ taxonomy/ tests/ taxonomy.test, line 1979 - Tests for taxonomy.module.
Class
- TaxonomyQueryAlterTestCase
- Tests that appropriate query tags are added.
Code
protected function setupQueryTagTestHooks() {
taxonomy_terms_static_reset();
state_set('taxonomy_test_query_alter', 0);
state_set('taxonomy_test_query_term_access_alter', 0);
state_set('taxonomy_test_query_taxonomy_term_access_alter', 0);
}