You are here

public function SelectQuery::hasTag in Drupal 7

Determines if a given query has a given tag.

Parameters

$tag: The tag to check.

Return value

TRUE if this query has been marked with this tag, FALSE otherwise.

Overrides QueryAlterableInterface::hasTag

File

includes/database/select.inc, line 982

Class

SelectQuery
Query builder for SELECT statements.

Code

public function hasTag($tag) {
  return isset($this->alterTags[$tag]);
}