1 taxonomy_test.module taxonomy_test_query_alter(QueryAlterableInterface $query)

Implements hook_query_alter().

File

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

Code

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