You are here

public function RulesPlugin::pluginProvidesVariables in Rules 7.2

Returns info about variables 'provided' by the plugin.

Note that this method returns info about the provided variables as defined by the plugin. Thus this resembles the original info, which may be adapted via configuration.

See also

self::providesVariables()

3 calls to RulesPlugin::pluginProvidesVariables()
RulesAbstractPlugin::pluginProvidesVariables in includes/rules.core.inc
Returns info about variables 'provided' by the plugin.
RulesPlugin::integrityCheck in includes/rules.core.inc
Makes sure the plugin is configured right.
RulesPlugin::providesVariables in includes/rules.core.inc
Returns info about all variables provided for later evaluated elements.
2 methods override RulesPlugin::pluginProvidesVariables()
RulesAbstractPlugin::pluginProvidesVariables in includes/rules.core.inc
Returns info about variables 'provided' by the plugin.
RulesActionContainer::pluginProvidesVariables in includes/rules.core.inc
Returns info about variables 'provided' by the plugin.

File

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

Class

RulesPlugin
Base class for rules plugins.

Code

public function pluginProvidesVariables() {
  return isset($this->info['provides']) ? $this->info['provides'] : array();
}