public function SolrFieldTypeInterface::setFieldTypeAsJson in Search API Multilingual Solr Search 8
Sets the Solr Field Type definition as JSON.
Decodes the Solr Field Type definition encoded as JSON and stores an nested associative array internally. This method in useful to import a field type from an existing Solr server.
Parameters
string $field_type: The Solr Field Type definition as JSON.
Return value
$this
1 method overrides SolrFieldTypeInterface::setFieldTypeAsJson()
- SolrFieldType::setFieldTypeAsJson in src/
Entity/ SolrFieldType.php - Sets the Solr Field Type definition as JSON.
File
- src/
SolrFieldTypeInterface.php, line 65
Class
- SolrFieldTypeInterface
- Provides an interface defining a SolrFieldType entity.
Namespace
Drupal\search_api_solr_multilingualCode
public function setFieldTypeAsJson($field_type);