function search_node_tags_query_alter

Implements hook_query_alter().

File

modules/search/tests/search_node_tags.module, line 12

Code

function search_node_tags_query_alter(QueryAlterableInterface $query) {
    if ($query->hasTag('search_node')) {
        variable_set('search_node_tags_test_query_tag', TRUE);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.