public function TaxonomyManagerForm::__construct in Taxonomy Manager 8
Same name and namespace in other branches
- 2.0.x src/Form/TaxonomyManagerForm.php \Drupal\taxonomy_manager\Form\TaxonomyManagerForm::__construct()
Constructs a \Drupal\taxonomy_manager\Form\TaxonomyManagerForm object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Utility\LinkGeneratorInterface $link_generator: The link generator service.
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The url generator.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Form\FormBuilder $form_builder: The form builder.
\Drupal\Core\Entity\EntityFormBuilderInterface $entity_form_builder: The entity form builder.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Path\CurrentPathStack $current_path: The current path.
File
- src/
Form/ TaxonomyManagerForm.php, line 92
Class
- TaxonomyManagerForm
- Taxonomy manager class.
Namespace
Drupal\taxonomy_manager\FormCode
public function __construct(ModuleHandlerInterface $module_handler, LinkGeneratorInterface $link_generator, UrlGeneratorInterface $url_generator, EntityTypeManagerInterface $entity_type_manager, FormBuilder $form_builder, EntityFormBuilderInterface $entity_form_builder, ConfigFactoryInterface $config_factory, CurrentPathStack $current_path) {
$this->moduleHandler = $module_handler;
$this->linkGenerator = $link_generator;
$this->urlGenerator = $url_generator;
$this->entityTypeManager = $entity_type_manager;
$this->formBuilder = $form_builder;
$this->entityFormBuilder = $entity_form_builder;
$this->configFactory = $config_factory;
$this->currentPath = $current_path;
}