You are here

public function SolrFieldType::setCollatedFieldType in Search API Solr 8.3

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

Sets the Solr Collated Field Type definition as nested associative array.

Parameters

array $collated_field_type: The Solr Collated Type definition as nested associative array.

Return value

self Collated field type

Overrides SolrFieldTypeInterface::setCollatedFieldType

File

src/Entity/SolrFieldType.php, line 154

Class

SolrFieldType
Defines the SolrFieldType entity.

Namespace

Drupal\search_api_solr\Entity

Code

public function setCollatedFieldType(array $collated_field_type) {
  $this->collated_field_type = $collated_field_type;
  return $this;
}