You are here

public function SolrFieldType::getFieldTypeAsJson in Apache Solr Multilingual 8

File

src/Entity/SolrFieldType.php, line 75
Contains Drupal\apachesolr_multilingual\Entity\SolrFieldType.

Class

SolrFieldType
Defines the SolrFieldType entity.

Namespace

Drupal\apachesolr_multilingual\Entity

Code

public function getFieldTypeAsJson() {
  return Json::encode($this->field_type);
}