You are here

public function AbstractSolrEntityController::listing 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::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();
}