You are here

function search_api_spellcheck_views_data in Search API Spellcheck 8

Same name and namespace in other branches
  1. 8.3 search_api_spellcheck.views.inc \search_api_spellcheck_views_data()

Implements hook_views_data().

File

./search_api_spellcheck.views.inc, line 11
Views hook implementations for the Search API spellcheck module.

Code

function search_api_spellcheck_views_data() {

  // @todo: Only enable for search api views.
  $data['views']['search_api_spellcheck'] = [
    'title' => t('Search API Spellcheck'),
    'help' => t('Suggestions for spellings'),
    'area' => [
      'id' => 'search_api_spellcheck',
    ],
  ];
  return $data;
}