public function EventHandler::__construct in Services Client 7.2
Constructor.
Parameters
stdClass $event: Event DB record.
array $config: Plugin configuration.
Overrides ServicesClientPlugin::__construct
File
- include/
event.inc, line 36
Class
- EventHandler
- Event handler plugin.
Code
public function __construct($event, $config) {
parent::__construct($event, $config);
if (empty($this->config)) {
$this->config = $this
->getDefaultConfiguration();
}
}