public function SearchApiQuery::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/
Plugin/ views/ query/ SearchApiQuery.php, line 244
Class
- SearchApiQuery
- Defines a Views query class for searching on Search API indexes.
Namespace
Drupal\search_api\Plugin\views\queryCode
public function setMessenger(MessengerInterface $messenger) {
$this->messenger = $messenger;
return $this;
}