Same name and namespace in other branches
  1. 8.9.x core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::getType()
  2. 9 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::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.

See also

\Drupal\search\SearchIndexInterface::index()

\Drupal\search\SearchIndexInterface::clear()

1 method overrides SearchInterface::getType()
SearchPluginBase::getType in core/modules/search/src/Plugin/SearchPluginBase.php
Returns the search index type this plugin uses.

File

core/modules/search/src/Plugin/SearchInterface.php, line 72

Class

SearchInterface
Defines a common interface for all SearchPlugin objects.

Namespace

Drupal\search\Plugin

Code

public function getType();