You are here

public function EventHandler::addTag in Services Client 7.2

Add event tag.

Parameters

string $tag: Tag that should be added to event.

Return value

EventHandler

File

include/event.inc, line 808

Class

EventHandler
Event handler plugin.

Code

public function addTag($tag) {
  if (!$this
    ->hasTag($tag)) {
    $this->tags[] = $tag;
  }
  return $this;
}