function RulesPlugin::variableInfoAssertions
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 783
Class
- RulesPlugin
- Base class for rules plugins.
Code
protected function variableInfoAssertions() {
return array();
}