function ViewsUIController::__construct

Same name in other branches
  1. 9 core/modules/views_ui/src/Controller/ViewsUIController.php \Drupal\views_ui\Controller\ViewsUIController::__construct()
  2. 8.9.x core/modules/views_ui/src/Controller/ViewsUIController.php \Drupal\views_ui\Controller\ViewsUIController::__construct()
  3. 11.x core/modules/views_ui/src/Controller/ViewsUIController.php \Drupal\views_ui\Controller\ViewsUIController::__construct()

Constructs a new \Drupal\views_ui\Controller\ViewsUIController object.

Parameters

\Drupal\views\ViewsData $views_data: The Views data cache object.

File

core/modules/views_ui/src/Controller/ViewsUIController.php, line 38

Class

ViewsUIController
Returns responses for Views UI routes.

Namespace

Drupal\views_ui\Controller

Code

public function __construct(ViewsData $views_data) {
    $this->viewsData = $views_data;
}

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