Implements hook_query_TAG_alter().
function taxonomy_test_query_taxonomy_term_access_alter(QueryAlterableInterface $query) { $value = variable_get(__FUNCTION__); if (isset($value)) { variable_set(__FUNCTION__, ++$value); } }