You are here

public function ViewsRulesLoop::pluginParameterInfo in Views Rules 7

Returns info about parameters needed by the plugin.

Note that not necessarily all parameters are needed when executing the plugin, as values for the parameter might have been already configured via the element settings.

Overrides RulesPlugin::pluginParameterInfo

See also

self::parameterInfo()

1 call to ViewsRulesLoop::pluginParameterInfo()
ViewsRulesLoop::evaluate in rules/views_rules.plugin.inc
Evaluate, whereas by default new vars are visible in the parent's scope.

File

rules/views_rules.plugin.inc, line 107
Views Rules plugin implementations.

Class

ViewsRulesLoop
Loop plugin for using results from a view with Rules displays.

Code

public function pluginParameterInfo() {
  if ($iterator = $this
    ->getViewIterator()) {
    return $iterator
      ->get_rules_parameter_info();
  }
  return array();
}