You are here

public function WizardManager::__construct in Views (for Drupal 7) 8.3

Constructs a WizardManager object.

File

lib/Drupal/views/Plugin/Type/WizardManager.php, line 28
Definition of Drupal\views\Plugin\Type\WizardManager.

Class

WizardManager

Namespace

Drupal\views\Plugin\Type

Code

public function __construct() {

  // @todo Remove this hack in http://drupal.org/node/1708404.
  views_init();
  $this->discovery = new CacheDecorator(new AlterDecorator(new AnnotatedClassDiscovery('views', 'wizard'), 'views_plugins_wizard'), 'views:wizard', 'views_info');
  $this->factory = new DefaultFactory($this);
  $this->coreModules = views_core_modules();
}