public function RulesTriggerableInterface::event in Rules 7.2
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
1 method overrides RulesTriggerableInterface::event()
- RulesReactionRule::event in includes/
rules.plugins.inc - Implements RulesTriggerableInterface::event().
File
- includes/
rules.core.inc, line 1962 - Rules base classes and interfaces needed for any rule evaluation.
Class
- RulesTriggerableInterface
- Interface for objects that are triggerable.
Code
public function event($event_name, array $settings = array());