You are here

public function SolrFieldTypeInterface::getFieldTypeAsXml in Search API Multilingual Solr Search 8

Gets the Solr Field Type definition as XML fragment.

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

Parameters

bool $add_commment: Wether to add a comment to the XML or not to explain the purpose of this Solr Field Type.

Return value

string The Solr Field Type definition as XML.

1 method overrides SolrFieldTypeInterface::getFieldTypeAsXml()
SolrFieldType::getFieldTypeAsXml in src/Entity/SolrFieldType.php
Gets the Solr Field Type definition as XML fragment.

File

src/SolrFieldTypeInterface.php, line 79

Class

SolrFieldTypeInterface
Provides an interface defining a SolrFieldType entity.

Namespace

Drupal\search_api_solr_multilingual

Code

public function getFieldTypeAsXml();