You are here

public function IndexDisableConfirmForm::__construct in Search API 8

Constructs an IndexDisableConfirmForm object.

Parameters

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

File

src/Form/IndexDisableConfirmForm.php, line 29

Class

IndexDisableConfirmForm
Defines a confirm form for disabling an index.

Namespace

Drupal\search_api\Form

Code

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