protected function RenderedItem::setThemeManager in Search API 8
Sets the theme manager.
Parameters
\Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager.
Return value
$this
File
- src/
Plugin/ search_api/ processor/ RenderedItem.php, line 157
Class
- RenderedItem
- Adds an additional field containing the rendered item.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
protected function setThemeManager(ThemeManagerInterface $theme_manager) {
$this->themeManager = $theme_manager;
return $this;
}