Loading src/Plugin/views/area/DidYouMeanSpellCheck.php +1 −1 Changes for src/Plugin/views/area/DidYouMeanSpellCheck.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ class DidYouMeanSpellCheck extends AreaPluginBase { * In any case we need a valid Drupal render array to return. */ public function render($empty = FALSE) { if ($this->options['search_api_spellcheck_hide_on_result'] == FALSE || ($this->options['search_api_spellcheck_hide_on_result'] && $empty)) { if (!$this->options['search_api_spellcheck_hide_on_result'] || $empty) { /** @var ResultSetInterface $result */ $result = $this->query->getSearchApiResults(); if ($spellcheck = $result->getExtraData('search_api_spellcheck')) { Loading src/Plugin/views/area/SuggestionsSpellCheck.php +1 −1 Changes for src/Plugin/views/area/SuggestionsSpellCheck.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class SuggestionsSpellCheck extends DidYouMeanSpellCheck { * In any case we need a valid Drupal render array to return. */ public function render($empty = FALSE) { if ($this->options['search_api_spellcheck_hide_on_result'] === FALSE || ($this->options['search_api_spellcheck_hide_on_result'] && $empty)) { if (!$this->options['search_api_spellcheck_hide_on_result'] || $empty) { /** @var ResultSetInterface $result */ $result = $this->query->getSearchApiResults(); if ($spellcheck = $result->getExtraData('search_api_spellcheck')) { Loading Loading
src/Plugin/views/area/DidYouMeanSpellCheck.php +1 −1 Changes for src/Plugin/views/area/DidYouMeanSpellCheck.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ class DidYouMeanSpellCheck extends AreaPluginBase { * In any case we need a valid Drupal render array to return. */ public function render($empty = FALSE) { if ($this->options['search_api_spellcheck_hide_on_result'] == FALSE || ($this->options['search_api_spellcheck_hide_on_result'] && $empty)) { if (!$this->options['search_api_spellcheck_hide_on_result'] || $empty) { /** @var ResultSetInterface $result */ $result = $this->query->getSearchApiResults(); if ($spellcheck = $result->getExtraData('search_api_spellcheck')) { Loading
src/Plugin/views/area/SuggestionsSpellCheck.php +1 −1 Changes for src/Plugin/views/area/SuggestionsSpellCheck.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ class SuggestionsSpellCheck extends DidYouMeanSpellCheck { * In any case we need a valid Drupal render array to return. */ public function render($empty = FALSE) { if ($this->options['search_api_spellcheck_hide_on_result'] === FALSE || ($this->options['search_api_spellcheck_hide_on_result'] && $empty)) { if (!$this->options['search_api_spellcheck_hide_on_result'] || $empty) { /** @var ResultSetInterface $result */ $result = $this->query->getSearchApiResults(); if ($spellcheck = $result->getExtraData('search_api_spellcheck')) { Loading