You are here

public function SolrDocument::getPropertyDefinitions 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::getPropertyDefinitions()
  2. 8.2 src/Plugin/search_api/datasource/SolrDocument.php \Drupal\search_api_solr\Plugin\search_api\datasource\SolrDocument::getPropertyDefinitions()
1 call to SolrDocument::getPropertyDefinitions()
SolrDocument::buildConfigurationForm in src/Plugin/search_api/datasource/SolrDocument.php
Form constructor.

File

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

Class

SolrDocument
Represents a datasource which exposes external Solr Documents.

Namespace

Drupal\search_api_solr\Plugin\search_api\datasource

Code

public function getPropertyDefinitions() {
  return $this
    ->getSolrFieldManager()
    ->getFieldDefinitions($this->index);
}