function SearchHelpSearch::indexClear

Same name and namespace in other branches
  1. 11.x core/modules/search/modules/search_help/src/Plugin/Search/SearchHelpSearch.php \Drupal\search_help\Plugin\Search\SearchHelpSearch::indexClear()

File

core/modules/search/modules/search_help/src/Plugin/Search/SearchHelpSearch.php, line 310

Class

SearchHelpSearch
Handles searching for help using the Search module index.

Namespace

Drupal\search_help\Plugin\Search

Code

public function indexClear() : void {
  $this->searchIndex
    ->clear($this->getType());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.