You are here

public function SearchInterface::getType in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

search_index()

search_index_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 77
Contains \Drupal\search\Plugin\SearchInterface.

Class

SearchInterface
Defines a common interface for all SearchPlugin objects.

Namespace

Drupal\search\Plugin

Code

public function getType();