You are here

public function AbstractSolrEntity::isRecommended in Search API Solr 8.3

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

Indicates if a Config Entity is recommended to be used.

Return value

bool

Overrides SolrConfigInterface::isRecommended

1 call to AbstractSolrEntity::isRecommended()
SolrRequestDispatcher::getName in src/Entity/SolrRequestDispatcher.php
Gets the Solr Entity name.

File

src/Entity/AbstractSolrEntity.php, line 259

Class

AbstractSolrEntity
Defines the abstract base class for Solr config entities.

Namespace

Drupal\search_api_solr\Entity

Code

public function isRecommended() : bool {
  return $this->recommended;
}