You are here

public function IndexForm::__construct in Search API 8

Constructs an IndexForm object.

Parameters

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

\Drupal\search_api\Utility\PluginHelperInterface $plugin_helper: The plugin helper.

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

File

src/Form/IndexForm.php, line 68

Class

IndexForm
Provides a form for the Index entity.

Namespace

Drupal\search_api\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, PluginHelperInterface $plugin_helper, MessengerInterface $messenger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->pluginHelper = $plugin_helper;
  $this->messenger = $messenger;
}