public function PhotosImageSearch::getType in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x src/Plugin/Search/PhotosImageSearch.php \Drupal\photos\Plugin\Search\PhotosImageSearch::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()
File
- src/
Plugin/ Search/ PhotosImageSearch.php, line 236
Class
- PhotosImageSearch
- Handles searching for photos_image entities using the Search module index.
Namespace
Drupal\photos\Plugin\SearchCode
public function getType() {
return $this
->getPluginId();
}