public function DeleteTermsForm::__construct in Taxonomy Manager 8
Same name and namespace in other branches
- 2.0.x src/Form/DeleteTermsForm.php \Drupal\taxonomy_manager\Form\DeleteTermsForm::__construct()
DeleteTermsForm constructor.
Parameters
\Drupal\taxonomy\TermStorage $termStorage: Object with convenient methods to manage terms.
File
- src/
Form/ DeleteTermsForm.php, line 30
Class
- DeleteTermsForm
- Form for deleting given terms.
Namespace
Drupal\taxonomy_manager\FormCode
public function __construct(TermStorage $termStorage) {
$this->termStorage = $termStorage;
}