public function SolrRequestHandler::getName in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Entity/SolrRequestHandler.php \Drupal\search_api_solr\Entity\SolrRequestHandler::getName()
Gets the Solr Entity name.
Return value
string The Solr Entity name.
Overrides AbstractSolrEntity::getName
File
- src/
Entity/ SolrRequestHandler.php, line 68
Class
- SolrRequestHandler
- Defines the SolrRequestHandler entity.
Namespace
Drupal\search_api_solr\EntityCode
public function getName() : string {
$nested_name = $this->request_handler['lst'][0]['name'] ?? 'default';
return $this->request_handler['name'] . '_' . $nested_name;
}