function RulesEventHandlerBase::__construct

Implements RulesEventHandlerInterface::__construct().

Overrides RulesEventHandlerInterface::__construct

1 call to RulesEventHandlerBase::__construct()
RulesEventHandlerEntityBundle::__construct in includes/rules.event.inc
Implements RulesEventHandlerInterface::__construct().
1 method overrides RulesEventHandlerBase::__construct()
RulesEventHandlerEntityBundle::__construct in includes/rules.event.inc
Implements RulesEventHandlerInterface::__construct().

File

includes/rules.event.inc, line 206

Class

RulesEventHandlerBase
Base class for event handler.

Code

public function __construct($event_name, $info) {
    $this->eventName = $event_name;
    $this->eventInfo = $info;
    $this->settings = $this->getDefaults();
}