public function ConditionGroupInterface::hasTag in Search API 8
Checks whether a certain tag was set on this condition group.
Parameters
string $tag: A tag to check for.
Return value
bool TRUE if the tag was set for this condition group, FALSE otherwise.
1 method overrides ConditionGroupInterface::hasTag()
- ConditionGroup::hasTag in src/
Query/ ConditionGroup.php - Checks whether a certain tag was set on this condition group.
File
- src/
Query/ ConditionGroupInterface.php, line 43
Class
- ConditionGroupInterface
- Represents a condition group on a search query.
Namespace
Drupal\search_api\QueryCode
public function hasTag($tag);