public function SearchApiSolrBackend::isNonDrupalOrOutdatedConfigSetAllowed in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::isNonDrupalOrOutdatedConfigSetAllowed()
Indicates if the the current Solr config should not be verified.
Return value
bool
Overrides SolrBackendInterface::isNonDrupalOrOutdatedConfigSetAllowed
1 call to SearchApiSolrBackend::isNonDrupalOrOutdatedConfigSetAllowed()
- SearchApiSolrBackend::viewSettings in src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php
File
- src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php, line 4941
Class
- SearchApiSolrBackend
- Apache Solr backend for search api.
Namespace
Drupal\search_api_solr\Plugin\search_api\backendCode
public function isNonDrupalOrOutdatedConfigSetAllowed() : bool {
$connector = $this
->getSolrConnector();
$configuration = $connector
->getConfiguration();
return (bool) ($configuration['skip_schema_check'] ?? FALSE);
}