You are here

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

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

Gets the identifier that describes Solr Entity's purpose.

Return value

string The Solr Entity puprpose ID.

Overrides SolrConfigInterface::getPurposeId

2 methods override AbstractSolrEntity::getPurposeId()
SolrRequestDispatcher::getPurposeId in src/Entity/SolrRequestDispatcher.php
Gets the identifier that describes Solr Entity's purpose.
SolrRequestHandler::getPurposeId in src/Entity/SolrRequestHandler.php
Gets the identifier that describes Solr Entity's purpose.

File

src/Entity/AbstractSolrEntity.php, line 61

Class

AbstractSolrEntity
Defines the abstract base class for Solr config entities.

Namespace

Drupal\search_api_solr\Entity

Code

public function getPurposeId() : string {
  return $this
    ->getName();
}