public function IndexController::setMessenger in Search API 8
Sets the messenger.
Parameters
\Drupal\Core\Messenger\MessengerInterface $messenger: The new messenger.
Return value
$this
Overrides MessengerTrait::setMessenger
File
- src/
Controller/ IndexController.php, line 100
Class
- IndexController
- Provides route responses for search indexes.
Namespace
Drupal\search_api\ControllerCode
public function setMessenger(MessengerInterface $messenger) {
$this->messenger = $messenger;
return $this;
}