public function SolrFieldType::setSpellcheckFieldType in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Entity/SolrFieldType.php \Drupal\search_api_solr\Entity\SolrFieldType::setSpellcheckFieldType()
Sets the Solr Spellcheck Field Type definition as nested associative array.
Parameters
array $spellcheck_field_type: The Solr SpellcheckField Type definition as nested associative array.
Return value
self Spellcheck field type.
Overrides SolrFieldTypeInterface::setSpellcheckFieldType
File
- src/
Entity/ SolrFieldType.php, line 139
Class
- SolrFieldType
- Defines the SolrFieldType entity.
Namespace
Drupal\search_api_solr\EntityCode
public function setSpellcheckFieldType(array $spellcheck_field_type) {
$this->spellcheck_field_type = $spellcheck_field_type;
return $this;
}