You are here

search_api_spellcheck.views.inc in Search API Spellcheck 8

Same filename and directory in other branches
  1. 8.3 search_api_spellcheck.views.inc

Views hook implementations for the Search API spellcheck module.

File

search_api_spellcheck.views.inc
View source
<?php

/**
 * @file
 * Views hook implementations for the Search API spellcheck module.
 */

/**
 * Implements hook_views_data().
 */
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;
}

Functions