You are here

public function AbstractSolrEntityController::listing in Search API Solr 8.3

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

Provides the listing page.

Parameters

\Drupal\search_api\ServerInterface $search_api_server: The Search API server entity.

Return value

array A render array as expected by drupal_render().

Throws

\Drupal\search_api\SearchApiException

File

src/Controller/AbstractSolrEntityController.php, line 61

Class

AbstractSolrEntityController
Provides different listings of Solr Entities.

Namespace

Drupal\search_api_solr\Controller

Code

public function listing(ServerInterface $search_api_server) {
  return $this
    ->getListBuilder($search_api_server)
    ->render();
}