You are here

public function SolrFieldType::getSpellcheckFieldType in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 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;
}