Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HelpSearch.php

function HelpSearch::indexClear

Overrides SearchIndexingInterface::indexClear

File

core/modules/help/src/Plugin/Search/HelpSearch.php, line 380

Class

HelpSearch
Handles searching for help using the Search module index.

Namespace

Drupal\help\Plugin\Search

Code

public function indexClear() {
    $this->searchIndex
        ->clear($this->getType());
}
RSS feed
Powered by Drupal