protected function EventHandler::getConnection in Services Client 7.2
Retrieves event connection to remote site.
Return value
ServicesClientConnection Initialized services client connection client.
File
- include/
event.inc, line 89
Class
- EventHandler
- Event handler plugin.
Code
protected function getConnection() {
if ($this->connection == NULL) {
$this->connection = services_client_connection_get($this->event->connection);
}
return $this->connection;
}