You are here

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\processor

Code

protected function setThemeInitializer(ThemeInitializationInterface $theme_initialization) {
  $this->themeInitialization = $theme_initialization;
  return $this;
}