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.
File
- drupal/core/lib/Drupal/Core/Database/Query/AlterableInterface.php, line 41
- Definition of Drupal\Core\Database\Query\AlterableInterface
Class
- AlterableInterface
- Interface for a query that can be manipulated via an alter hook.
Namespace
Drupal\Core\Database\Query
Code
public function hasTag($tag);