You are here

public function HelpSearch::indexClear in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/Plugin/Search/HelpSearch.php \Drupal\help_topics\Plugin\Search\HelpSearch::indexClear()
  2. 9 core/modules/help_topics/src/Plugin/Search/HelpSearch.php \Drupal\help_topics\Plugin\Search\HelpSearch::indexClear()

File

core/modules/help_topics/src/Plugin/Search/HelpSearch.php, line 381

Class

HelpSearch
Handles searching for help using the Search module index.

Namespace

Drupal\help_topics\Plugin\Search

Code

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