You are here

public function ViewsRulesLoop::__construct in Views Rules 7

Overrides RulesActionContainer::__construct

File

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

Class

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

Code

public function __construct($viewName = NULL, $displayName = NULL, $settings = array()) {
  $this->info += array(
    'view_name' => $viewName,
    'display_name' => $displayName,
  );
  $this->settings = (array) $settings + $this->settings;
  $this
    ->setUp();
}