You are here

public function SolrFieldType::setFieldTypeAsJson in Apache Solr Multilingual 8

File

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

Class

SolrFieldType
Defines the SolrFieldType entity.

Namespace

Drupal\apachesolr_multilingual\Entity

Code

public function setFieldTypeAsJson($field_type) {
  $this->field_type = Json::decode($field_type);
  return $this;
}