function RulesEventHandlerBase::availableVariables

Implements RulesEventHandlerInterface::availableVariables().

Return value

array An array of provided variables, keyed by variable names and with the variable info array as value.

Overrides RulesEventHandlerInterface::availableVariables

1 method overrides RulesEventHandlerBase::availableVariables()
RulesEventHandlerEntityBundle::availableVariables in includes/rules.event.inc
Implements RulesEventHandlerInterface::availableVariables().

File

includes/rules.event.inc, line 246

Class

RulesEventHandlerBase
Base class for event handler.

Code

public function availableVariables() {
  return isset($this->eventInfo['variables']) ? $this->eventInfo['variables'] : array();
}