public function EventHandler::removeTag in Services Client 7.2
Remove tag from event.
Parameters
string $tag: Tag name.
File
- include/
event.inc, line 834
Class
- EventHandler
- Event handler plugin.
Code
public function removeTag($tag) {
if ($this
->hasTag($tag)) {
$this->tags = array_diff($this->tags, array(
$tag,
));
}
}