You are here

public function SolrFieldTypeInterface::setFieldType in Search API Solr 8.3

Same name and namespace in other branches
  1. 4.x src/SolrFieldTypeInterface.php \Drupal\search_api_solr\SolrFieldTypeInterface::setFieldType()

Sets the Solr Field Type definition as nested associative array.

Parameters

array $field_type: The Solr Field Type definition as nested associative array.

Return value

self Field type.

1 method overrides SolrFieldTypeInterface::setFieldType()
SolrFieldType::setFieldType in src/Entity/SolrFieldType.php
Sets the Solr Field Type definition as nested associative array.

File

src/SolrFieldTypeInterface.php, line 59

Class

SolrFieldTypeInterface
Provides an interface defining a SolrFieldType entity.

Namespace

Drupal\search_api_solr

Code

public function setFieldType(array $field_type);