You are here

public function ViewsAddButtonController::__construct in Views Add Button 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/ViewsAddButtonController.php \Drupal\views_add_button\Controller\ViewsAddButtonController::__construct()

ViewsAddButtonController constructor.

Parameters

\Drupal\views_add_button\ViewsAddButtonManager $plugin_manager: The plugin manager object.

File

src/Controller/ViewsAddButtonController.php, line 31

Class

ViewsAddButtonController
Class ViewsAddButtonController.

Namespace

Drupal\views_add_button\Controller

Code

public function __construct(ViewsAddButtonManager $plugin_manager) {
  $this->ViewsAddButtonManager = $plugin_manager;
}