function RulesTriggerableInterface::event

Adds the specified event.

Parameters

string $event_name: The base name of the event to add.

array $settings: (optional) The event settings. If there are no event settings, pass an empty array (default).

Return value

RulesTriggerableInterface

1 method overrides RulesTriggerableInterface::event()
RulesReactionRule::event in includes/rules.plugins.inc
Implements RulesTriggerableInterface::event().

File

includes/rules.core.inc, line 1977

Class

RulesTriggerableInterface
Interface for objects that are triggerable.

Code

public function event($event_name, array $settings = array());