You are here

public function EventHandler::setConnection in Services Client 7.2

Set new connection to remote site.

Parameters

ServicesClientConnection $connection: Initialized SC Connection client.

Return value

EventHandler

File

include/event.inc, line 116

Class

EventHandler
Event handler plugin.

Code

public function setConnection($connection) {
  $this->connection = $connection;
  return $this;
}