You are here

public function ServerForm::__construct in Search API 8

Constructs a ServerForm object.

Parameters

\Drupal\search_api\Backend\BackendPluginManager $backend_plugin_manager: The backend plugin manager.

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

File

src/Form/ServerForm.php, line 46

Class

ServerForm
Provides a form for creating and editing search servers.

Namespace

Drupal\search_api\Form

Code

public function __construct(BackendPluginManager $backend_plugin_manager, MessengerInterface $messenger) {
  $this->backendPluginManager = $backend_plugin_manager;
  $this->messenger = $messenger;
}