You are here

protected function RulesPlugin::variableInfoAssertions in Rules 7.2

Returns asserted additions to the available variable info.

Any returned info is merged into the variable info, in case the execution flow passes the element. E.g. this is used to assert the content type of a node if the condition is met, such that the per-node type properties are available.

2 methods override RulesPlugin::variableInfoAssertions()
RulesAbstractPlugin::variableInfoAssertions in includes/rules.core.inc
Returns asserted additions to the available variable info.
RulesContainerPlugin::variableInfoAssertions in includes/rules.core.inc
Returns asserted additions to the available variable info.

File

includes/rules.core.inc, line 780
Rules base classes and interfaces needed for any rule evaluation.

Class

RulesPlugin
Base class for rules plugins.

Code

protected function variableInfoAssertions() {
  return array();
}