You are here

public function ExportController::__construct in Term CSV Export Import 8

Same name and namespace in other branches
  1. 8.3 src/Controller/ExportController.php \Drupal\term_csv_export_import\Controller\ExportController::__construct()
  2. 8.2 src/Controller/ExportController.php \Drupal\term_csv_export_import\Controller\ExportController::__construct()

File

src/Controller/ExportController.php, line 20

Class

ExportController
Class ExportController.

Namespace

Drupal\term_csv_export_import\Controller

Code

public function __construct(TermStorage $term_storage, $vocabulary) {
  $this->term_storage = $term_storage;
  $this->vocabulary = $vocabulary;
}