You are here

public function SolrRequestDispatcher::getPurposeId in Search API Solr 4.x

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

Gets the identifier that describes Solr Entity's purpose.

Return value

string The Solr Entity puprpose ID.

Overrides AbstractSolrEntity::getPurposeId

File

src/Entity/SolrRequestDispatcher.php, line 74

Class

SolrRequestDispatcher
Defines the SolrRequestDispatcher entity.

Namespace

Drupal\search_api_solr\Entity

Code

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