You are here

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

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

DeleteTermsForm constructor.

Parameters

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

\Drupal\taxonomy_manager\TaxonomyManagerHelper $taxonomy_manager_helper: The taxonomy messenger helper.

File

src/Form/DeleteTermsForm.php, line 39

Class

DeleteTermsForm
Form for deleting given terms.

Namespace

Drupal\taxonomy_manager\Form

Code

public function __construct(TermStorage $term_storage, TaxonomyManagerHelper $taxonomy_manager_helper) {
  $this->termStorage = $term_storage;
  $this->taxonomyManagerHelper = $taxonomy_manager_helper;
}