You are here

public function ExportTermsForm::__construct in Taxonomy Manager 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/ExportTermsForm.php \Drupal\taxonomy_manager\Form\ExportTermsForm::__construct()

ExportTermsForm constructor.

Parameters

\Drupal\taxonomy\TermStorage $termStorage: Object with convenient methods to manage terms.

File

src/Form/ExportTermsForm.php, line 33

Class

ExportTermsForm
Form for exporting given terms.

Namespace

Drupal\taxonomy_manager\Form

Code

public function __construct(TermStorage $termStorage) {
  $this->termStorage = $termStorage;
}