You are here

public function SimplePopupBlocksController::__construct in Simple Popup Blocks 8

Same name and namespace in other branches
  1. 8.2 src/Controller/SimplePopupBlocksController.php \Drupal\simple_popup_blocks\Controller\SimplePopupBlocksController::__construct()

File

src/Controller/SimplePopupBlocksController.php, line 35

Class

SimplePopupBlocksController
Controller routines for manage page routes.

Namespace

Drupal\simple_popup_blocks\Controller

Code

public function __construct(Messenger $messenger, Connection $database) {
  $this->messenger = $messenger;
  $this->database = $database;
}