You are here

public function ServicesClientEventResult::getHandler in Services Client 7.2

Retrieve event handler.

Return value

EventHandler

File

include/plugin.inc, line 369
Base plugin definitions. All other plugins should be extended from this set of plugins.

Class

ServicesClientEventResult
Class for handling event operation results.

Code

public function getHandler() {

  // Lazy load handler.
  if (empty($this->handler)) {
    $this->handler = $this->event
      ->getHandler();
  }
  return $this->handler;
}