You are here

public function SolrDocument::setSolrFieldManager in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api/datasource/SolrDocument.php \Drupal\search_api_solr\Plugin\search_api\datasource\SolrDocument::setSolrFieldManager()
  2. 8.2 src/Plugin/search_api/datasource/SolrDocument.php \Drupal\search_api_solr\Plugin\search_api\datasource\SolrDocument::setSolrFieldManager()

Sets the Solr field manager.

Parameters

\Drupal\search_api_solr\SolrFieldManagerInterface $solr_field_manager: The new entity field manager.

Return value

$this

File

src/Plugin/search_api/datasource/SolrDocument.php, line 78

Class

SolrDocument
Represents a datasource which exposes external Solr Documents.

Namespace

Drupal\search_api_solr\Plugin\search_api\datasource

Code

public function setSolrFieldManager(SolrFieldManagerInterface $solr_field_manager) {
  $this->solrFieldManager = $solr_field_manager;
  return $this;
}