You are here

public function FacetSourceEditForm::__construct in Facets 8

Constructs a FacetSourceEditForm.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\facets\UrlProcessor\UrlProcessorPluginManager $url_processor_plugin_manager: The url processor plugin manager.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: Drupal's module handler.

File

src/Form/FacetSourceEditForm.php, line 48

Class

FacetSourceEditForm
Provides a form for editing facet sources.

Namespace

Drupal\facets\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, UrlProcessorPluginManager $url_processor_plugin_manager, ModuleHandlerInterface $moduleHandler) {
  $this->urlProcessorPluginManager = $url_processor_plugin_manager;
  $this
    ->setEntityTypeManager($entity_type_manager);
  $this
    ->setModuleHandler($moduleHandler);
}