You are here

public function SolrRequestHandler::getPurposeId in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/Entity/SolrRequestHandler.php \Drupal\search_api_solr\Entity\SolrRequestHandler::getPurposeId()

Gets the identifier that describes Solr Entity's purpose.

Return value

string The Solr Entity puprpose ID.

Overrides AbstractSolrEntity::getPurposeId

File

src/Entity/SolrRequestHandler.php, line 76

Class

SolrRequestHandler
Defines the SolrRequestHandler entity.

Namespace

Drupal\search_api_solr\Entity

Code

public function getPurposeId() : string {
  return $this->request_handler['name'];
}