You are here

public function HelpSearch::markForReindex 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::markForReindex()
  2. 9 core/modules/help_topics/src/Plugin/Search/HelpSearch.php \Drupal\help_topics\Plugin\Search\HelpSearch::markForReindex()

File

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

Class

HelpSearch
Handles searching for help using the Search module index.

Namespace

Drupal\help_topics\Plugin\Search

Code

public function markForReindex() {
  $this
    ->updateTopicList();
  $this->searchIndex
    ->markForReindex($this
    ->getType());
}