You are here

interface SolrFieldManagerInterface in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrFieldManagerInterface.php \Drupal\search_api_solr\SolrFieldManagerInterface
  2. 8.2 src/SolrFieldManagerInterface.php \Drupal\search_api_solr\SolrFieldManagerInterface

Defines an interface for a Solr field manager.

Hierarchy

Expanded class hierarchy of SolrFieldManagerInterface

All classes that implement SolrFieldManagerInterface

1 file declares its use of SolrFieldManagerInterface
SolrDocument.php in src/Plugin/search_api/datasource/SolrDocument.php

File

src/SolrFieldManagerInterface.php, line 10

Namespace

Drupal\search_api_solr
View source
interface SolrFieldManagerInterface {

  /**
   * Gets the field definitions for a Solr server.
   *
   * @param \Drupal\search_api\IndexInterface $index
   *   The Search Api index.
   *
   * @return \Drupal\search_api_solr\TypedData\SolrFieldDefinitionInterface[]
   *   The array of field definitions for the server, keyed by field name.
   */
  public function getFieldDefinitions(IndexInterface $index);

}

Members

Namesort descending Modifiers Type Description Overrides
SolrFieldManagerInterface::getFieldDefinitions public function Gets the field definitions for a Solr server. 1