You are here

public function SolrConfigInterface::getSolrConfigsAsXml in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrConfigInterface.php \Drupal\search_api_solr\SolrConfigInterface::getSolrConfigsAsXml()

Gets the Solr Field Type specific additions to solrconfig.xml as XML.

The XML format is used as part of a classic Solr solrconf.xml.

Parameters

bool $add_comment: Wether to add a comment to the XML or not to explain the purpose of these configs.

Return value

string The Solr Field Type specific additions to solrconfig.xml as XML.

1 method overrides SolrConfigInterface::getSolrConfigsAsXml()
AbstractSolrEntity::getSolrConfigsAsXml in src/Entity/AbstractSolrEntity.php
Gets the Solr Field Type specific additions to solrconfig.xml as XML.

File

src/SolrConfigInterface.php, line 44

Class

SolrConfigInterface
Provides an interface defining a Solr Config entity.

Namespace

Drupal\search_api_solr

Code

public function getSolrConfigsAsXml($add_comment = TRUE);