public function SolrFieldTypeInterface::getFieldTypeAsJson in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::getFieldTypeAsJson()
- 8.2 src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::getFieldTypeAsJson()
Gets the Solr 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 Field Type definition as JSON.
1 method overrides SolrFieldTypeInterface::getFieldTypeAsJson()
- SolrFieldType::getFieldTypeAsJson in src/
Entity/ SolrFieldType.php - Gets the Solr Field Type definition as JSON.
File
- src/
SolrFieldTypeInterface.php, line 72
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solrCode
public function getFieldTypeAsJson(bool $pretty = FALSE);