class RulesEventDefaultHandler in Rules 7.2
A handler for events having no settings. This is the default handler.
Hierarchy
- class \RulesEventHandlerBase implements RulesEventHandlerInterface
- class \RulesEventDefaultHandler
Expanded class hierarchy of RulesEventDefaultHandler
1 string reference to 'RulesEventDefaultHandler'
- rules_get_event_handler in ./
rules.module - Returns the rule event handler for the given event.
File
- includes/
rules.event.inc, line 269 - Contains event handler interface and base classes.
View source
class RulesEventDefaultHandler extends RulesEventHandlerBase {
/**
* Implements RulesEventHandlerInterface::buildForm().
*/
public function buildForm(array &$form_state) {
return array();
}
/**
* Implements RulesEventHandlerInterface::getConfiguredEventName().
*/
public function getEventNameSuffix() {
return '';
}
/**
* Implements RulesEventHandlerInterface::summary().
*/
public function summary() {
return check_plain($this->eventInfo['label']);
}
/**
* Implements RulesEventHandlerInterface::getDefaults().
*/
public function getDefaults() {
return array();
}
/**
* Implements RulesEventHandlerInterface::getSettings().
*/
public function getSettings() {
return NULL;
}
}