1 taxonomy_test.module taxonomy_test_query_taxonomy_term_access_alter(QueryAlterableInterface $query)

Implements hook_query_TAG_alter().

File

core/modules/simpletest/tests/taxonomy_test.module, line 135
Test module for Taxonomy hooks and functions not used in core.

Code

function taxonomy_test_query_taxonomy_term_access_alter(QueryAlterableInterface $query) {
  $value = state_get(__FUNCTION__);
  if (isset($value)) {
    state_set(__FUNCTION__, ++$value);
  }
}