protected function RenderedItem::setThemeInitializer in Search API 8
Sets the theme initialization service.
Parameters
\Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization: The theme initialization service.
Return value
$this
File
- src/
Plugin/ search_api/ processor/ RenderedItem.php, line 180
Class
- RenderedItem
- Adds an additional field containing the rendered item.
Namespace
Drupal\search_api\Plugin\search_api\processorCode
protected function setThemeInitializer(ThemeInitializationInterface $theme_initialization) {
$this->themeInitialization = $theme_initialization;
return $this;
}