You are here

public function AbstractSolrEntity::isRecommended 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::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;
}