You are here

public function DeleteControllerBase::__construct in Delete all 2.x

Same name and namespace in other branches
  1. 8 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();
}