You are here

SolrRequestHandlerListBuilder.php in Search API Solr 4.x

Same filename and directory in other branches
  1. 8.3 src/Controller/SolrRequestHandlerListBuilder.php

File

src/Controller/SolrRequestHandlerListBuilder.php
View source
<?php

namespace Drupal\search_api_solr\Controller;


/**
 * Provides a listing of SolrRequestHandler.
 */
class SolrRequestHandlerListBuilder extends AbstractSolrEntityListBuilder {

  /**
   * Request handler label.
   *
   * @var string
   */
  protected $label = 'Solr Request Handler';

  /**
   * Returns a list of all disabled request handlers for current server.
   *
   * @return array
   *   List of all disabled request handlers for current server.
   */
  protected function getDisabledEntities() : array {
    $backend = $this
      ->getBackend();
    return $backend
      ->getDisabledRequestHandlers();
  }

}

Classes

Namesort descending Description
SolrRequestHandlerListBuilder Provides a listing of SolrRequestHandler.