protected function DidYouMeanSpellCheck::defineOptions in Search API Spellcheck 8.3
Information about options for all kinds of purposes will be held here.
'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),
Return value
array Returns the options of this handler/plugin.
Overrides AreaPluginBase::defineOptions
1 call to DidYouMeanSpellCheck::defineOptions()
- SuggestionsSpellCheck::defineOptions in src/
Plugin/ views/ area/ SuggestionsSpellCheck.php  - Information about options for all kinds of purposes will be held here.
 
1 method overrides DidYouMeanSpellCheck::defineOptions()
- SuggestionsSpellCheck::defineOptions in src/
Plugin/ views/ area/ SuggestionsSpellCheck.php  - Information about options for all kinds of purposes will be held here.
 
File
- src/
Plugin/ views/ area/ DidYouMeanSpellCheck.php, line 32  
Class
- DidYouMeanSpellCheck
 - Provides an area for messages.
 
Namespace
Drupal\search_api_spellcheck\Plugin\views\areaCode
protected function defineOptions() {
  $options = parent::defineOptions();
  $options['search_api_spellcheck_count']['default'] = 1;
  $options['search_api_spellcheck_hide_on_result']['default'] = TRUE;
  $options['search_api_spellcheck_collate']['default'] = TRUE;
  return $options;
}