You are here

public function FileController::__construct in Ubercart 8.4

Constructs a FileController object.

Parameters

\Drupal\Core\Database\Connection $database: A database connection.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder service.

File

uc_file/src/Controller/FileController.php, line 48

Class

FileController
Handles administrative view of files that may be purchased and downloaded.

Namespace

Drupal\uc_file\Controller

Code

public function __construct(Connection $database, FormBuilderInterface $form_builder) {
  $this->database = $database;
  $this->formBuilder = $form_builder;
}