public function SolrFieldTypeInterface::getCollatedFieldTypeAsJson in Search API Solr 8.3
Same name and namespace in other branches
- 4.x src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::getCollatedFieldTypeAsJson()
Gets the Solr Collated Field Type definition as JSON.
The JSON format is used to interact with a managed Solr schema.
Parameters
bool $pretty: Return pretty printed JSON.
Return value
string The Solr Spellcheck Field Type definition as JSON.
1 method overrides SolrFieldTypeInterface::getCollatedFieldTypeAsJson()
- SolrFieldType::getCollatedFieldTypeAsJson in src/
Entity/ SolrFieldType.php - Gets the Solr Collated Field Type definition as JSON.
File
- src/
SolrFieldTypeInterface.php, line 184
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function getCollatedFieldTypeAsJson(bool $pretty = FALSE);