You are here

public function HelpSearch::getType in Drupal 8

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

Returns the search index type this plugin uses.

Return value

string|null The type used by this search plugin in the search index, or NULL if this plugin does not use the search index.

Overrides SearchPluginBase::getType

See also

\Drupal\search\SearchIndexInterface::index()

\Drupal\search\SearchIndexInterface::clear()

6 calls to HelpSearch::getType()
HelpSearch::findResults in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
Finds the search results.
HelpSearch::indexClear in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
Clears the search index for this plugin.
HelpSearch::indexStatus in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
Reports the status of indexing.
HelpSearch::markForReindex in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
Marks the search index for reindexing for this plugin.
HelpSearch::removeItemsFromIndex in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
Removes an item or items from the search index.

... See full list

File

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

Class

HelpSearch
Handles searching for help using the Search module index.

Namespace

Drupal\help_topics\Plugin\Search

Code

public function getType() {
  return $this
    ->getPluginId();
}