public function SolrFieldTypeInterface::getSolrConfigsAsXml in Search API Solr 8.2
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_commment: 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 SolrFieldTypeInterface::getSolrConfigsAsXml()
- SolrFieldType::getSolrConfigsAsXml in src/
Entity/ SolrFieldType.php - Gets the Solr Field Type specific additions to solrconfig.xml as XML.
File
- src/
SolrFieldTypeInterface.php, line 129
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function getSolrConfigsAsXml($add_commment = TRUE);