You are here

public function ServerClearConfirmForm::__construct in Search API 8

Constructs a ServerClearConfirmForm object.

Parameters

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

File

src/Form/ServerClearConfirmForm.php, line 31

Class

ServerClearConfirmForm
Defines a confirm form for clearing a server.

Namespace

Drupal\search_api\Form

Code

public function __construct(MessengerInterface $messenger) {
  $this->messenger = $messenger;
}