You are here

public function RulesEventHandlerBase::__construct in Rules 7.2

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
Contains event handler interface and base classes.

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();
}