class RulesEventDefaultHandler
A handler for events having no settings. This is the default handler.
Hierarchy
- class \RulesEventHandlerBase implements \RulesEventHandlerInterface
- class \RulesEventDefaultHandler extends \RulesEventHandlerBase
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
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;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
RulesEventDefaultHandler::buildForm | public | function | Implements RulesEventHandlerInterface::buildForm(). | Overrides RulesEventHandlerInterface::buildForm | |
RulesEventDefaultHandler::getDefaults | public | function | Implements RulesEventHandlerInterface::getDefaults(). | Overrides RulesEventHandlerInterface::getDefaults | |
RulesEventDefaultHandler::getEventNameSuffix | public | function | Implements RulesEventHandlerInterface::getConfiguredEventName(). | Overrides RulesEventHandlerInterface::getEventNameSuffix | |
RulesEventDefaultHandler::getSettings | public | function | Implements RulesEventHandlerInterface::getSettings(). | Overrides RulesEventHandlerBase::getSettings | |
RulesEventDefaultHandler::summary | public | function | Implements RulesEventHandlerInterface::summary(). | Overrides RulesEventHandlerInterface::summary | |
RulesEventHandlerBase::$eventInfo | protected | property | The event info. | ||
RulesEventHandlerBase::$eventName | protected | property | The event name. | ||
RulesEventHandlerBase::$settings | protected | property | The event settings. | ||
RulesEventHandlerBase::availableVariables | public | function | Implements RulesEventHandlerInterface::availableVariables(). | Overrides RulesEventHandlerInterface::availableVariables | 1 |
RulesEventHandlerBase::extractFormValues | public | function | Implements RulesEventHandlerInterface::extractFormValues(). | Overrides RulesEventHandlerInterface::extractFormValues | 1 |
RulesEventHandlerBase::getEventInfo | public | function | Implements RulesEventHandlerInterface::getEventInfo(). | Overrides RulesEventHandlerInterface::getEventInfo | |
RulesEventHandlerBase::getEventName | public | function | Implements RulesEventHandlerInterface::getEventName(). | Overrides RulesEventHandlerInterface::getEventName | |
RulesEventHandlerBase::setSettings | public | function | Implements RulesEventHandlerInterface::setSettings(). | Overrides RulesEventHandlerInterface::setSettings | |
RulesEventHandlerBase::validate | public | function | Implements RulesEventHandlerInterface::validate(). | Overrides RulesEventHandlerInterface::validate | 1 |
RulesEventHandlerBase::__construct | public | function | Implements RulesEventHandlerInterface::__construct(). | Overrides RulesEventHandlerInterface::__construct | 1 |