public function ConditionGroup::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.
Overrides ConditionGroupInterface::hasTag
File
- src/
Query/ ConditionGroup.php, line 83
Class
- ConditionGroup
- Provides a standard implementation for a Search API query condition group.
Namespace
Drupal\search_api\QueryCode
public function hasTag($tag) {
return isset($this->tags[$tag]);
}