function ViewAddForm::__construct

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::__construct()
  2. 8.9.x core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::__construct()
  3. 10 core/modules/views_ui/src/ViewAddForm.php \Drupal\views_ui\ViewAddForm::__construct()

Constructs a new ViewAddForm object.

Parameters

\Drupal\views\Plugin\ViewsPluginManager $wizard_manager: The wizard plugin manager.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

File

core/modules/views_ui/src/ViewAddForm.php, line 41

Class

ViewAddForm
Form controller for the Views add form.

Namespace

Drupal\views_ui

Code

public function __construct(ViewsPluginManager $wizard_manager, ModuleHandlerInterface $module_handler) {
    $this->wizardManager = $wizard_manager;
    $this->moduleHandler = $module_handler;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.