You are here

public function RulesEventHandlerBase::setSettings in Rules 7.2

Implements RulesEventHandlerInterface::setSettings().

Overrides RulesEventHandlerInterface::setSettings

File

includes/rules.event.inc, line 222
Contains event handler interface and base classes.

Class

RulesEventHandlerBase
Base class for event handler.

Code

public function setSettings(array $settings) {
  $this->settings = $settings + $this
    ->getDefaults();
  return $this;
}