You are here

public function AbstractSolrEntityController::__construct in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/Controller/AbstractSolrEntityController.php \Drupal\search_api_solr\Controller\AbstractSolrEntityController::__construct()

Constructs a SolrRequestHandlerController object.

Parameters

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

File

src/Controller/AbstractSolrEntityController.php, line 46

Class

AbstractSolrEntityController
Provides different listings of Solr Entities.

Namespace

Drupal\search_api_solr\Controller

Code

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