function SearchInterface::getType
Same name and namespace in other branches
- 9 core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::getType()
- 8.9.x core/modules/search/src/Plugin/SearchInterface.php \Drupal\search\Plugin\SearchInterface::getType()
- 10 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\PluginCode
public function getType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.