public function SolrDocument::getSolrFieldManager in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/datasource/SolrDocument.php \Drupal\search_api_solr\Plugin\search_api\datasource\SolrDocument::getSolrFieldManager()
- 8.2 src/Plugin/search_api/datasource/SolrDocument.php \Drupal\search_api_solr\Plugin\search_api\datasource\SolrDocument::getSolrFieldManager()
Returns the Solr field manager.
Return value
\Drupal\search_api_solr\SolrFieldManagerInterface The Solr field manager.
File
- src/
Plugin/ search_api/ datasource/ SolrDocument.php, line 89
Class
- SolrDocument
- Represents a datasource which exposes external Solr Documents.
Namespace
Drupal\search_api_solr\Plugin\search_api\datasourceCode
public function getSolrFieldManager() {
return $this->solrFieldManager ?: \Drupal::getContainer()
->get($this->solr_field . '.manager');
}