1 taxonomy_test.module | taxonomy_test_query_term_access_alter(QueryAlterableInterface $query) |
Implements hook_query_TAG_alter().
File
- core/
modules/ simpletest/ tests/ taxonomy_test.module, line 125 - Test module for Taxonomy hooks and functions not used in core.
Code
function taxonomy_test_query_term_access_alter(QueryAlterableInterface $query) {
$value = state_get(__FUNCTION__);
if (isset($value)) {
state_set(__FUNCTION__, ++$value);
}
}