You are here

public function ImportTrainingForm::__construct in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Form/ImportTrainingForm.php \Drupal\opigno_module\Form\ImportTrainingForm::__construct()

Constructs a new CommerceBundleEntityFormBase object.

Parameters

\Drupal\commerce\EntityTraitManagerInterface $trait_manager: The entity trait manager.

File

src/Form/ImportTrainingForm.php, line 63

Class

ImportTrainingForm
Import Course form.

Namespace

Drupal\opigno_module\Form

Code

public function __construct(FileSystemInterface $file_system, Connection $database) {
  $this->fileSystem = $file_system;
  $this->database = $database;
}