You are here

public function DeleteControllerBase::__construct in Delete all 8

Same name and namespace in other branches
  1. 2.x src/Controller/DeleteControllerBase.php \Drupal\delete_all\Controller\DeleteControllerBase::__construct()

File

src/Controller/DeleteControllerBase.php, line 14

Class

DeleteControllerBase
Returns responses for devel module routes.

Namespace

Drupal\delete_all\Controller

Code

public function __construct() {
  $this->connection = \Drupal::database();
}