1 query.inc public QueryAlterableInterface::hasTag($tag)

Determines if a given query has a given tag.

Parameters

string $tag: The tag to check.

Return value

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

File

core/includes/database/query.inc, line 197
Non-specific Database query code. Used by all engines.

Class

QueryAlterableInterface
Interface for a query that can be manipulated via an alter hook.

Code

public function hasTag($tag);