You are here

public function SolrFieldType::getSpellcheckFieldType 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::getSpellcheckFieldType()

Gets the Solr Spellcheck Field Type definition as nested associative array.

Return value

array|null The Solr SpellcheckField Type definition as nested associative array or NULL if it doesn't exist.

Overrides SolrFieldTypeInterface::getSpellcheckFieldType

File

src/Entity/SolrFieldType.php, line 132

Class

SolrFieldType
Defines the SolrFieldType entity.

Namespace

Drupal\search_api_solr\Entity

Code

public function getSpellcheckFieldType() {
  return $this->spellcheck_field_type;
}