You are here

public function SpellCheck::getCacheKey in Search API Spellcheck 8

Returns a generated cache key (based on the views cache key)

Return value

string

2 calls to SpellCheck::getCacheKey()
SpellCheck::postExecute in src/Plugin/views/area/SpellCheck.php
Saves the solr response to the cache
SpellCheck::render in src/Plugin/views/area/SpellCheck.php
Render the area.

File

src/Plugin/views/area/SpellCheck.php, line 111

Class

SpellCheck
Provides an area for messages.

Namespace

Drupal\search_api_spellcheck\Plugin\views\area

Code

public function getCacheKey() {
  $cache = $this
    ->getCache();
  return $cache
    ->generateResultsKey() . self::SPELLCHECK_CACHE_SUFFIX;
}