public function SearchPluginBase::getType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/SearchPluginBase.php \Drupal\search\Plugin\SearchPluginBase::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 SearchInterface::getType
See also
1 method overrides SearchPluginBase::getType()
- NodeSearch::getType in core/
modules/ node/ src/ Plugin/ Search/ NodeSearch.php - Returns the search index type this plugin uses.
File
- core/
modules/ search/ src/ Plugin/ SearchPluginBase.php, line 95 - Contains \Drupal\search\Plugin\SearchPluginBase.
Class
- SearchPluginBase
- Defines a base class for plugins wishing to support search.
Namespace
Drupal\search\PluginCode
public function getType() {
return NULL;
}