You are here

public function IndexProcessorsForm::__construct in Search API 8

Constructs an IndexProcessorsForm object.

Parameters

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

\Drupal\search_api\Processor\ProcessorPluginManager $processor_plugin_manager: The processor plugin manager.

\Psr\Log\LoggerInterface $logger: The logger.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

File

src/Form/IndexProcessorsForm.php, line 69

Class

IndexProcessorsForm
Provides a form for configuring the processors of a search index.

Namespace

Drupal\search_api\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ProcessorPluginManager $processor_plugin_manager, LoggerInterface $logger, MessengerInterface $messenger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->processorPluginManager = $processor_plugin_manager;
  $this->logger = $logger;
  $this->messenger = $messenger;
}