You are here

protected function RenderedItem::setConfigFactory in Search API 8

Sets the config factory service.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

Return value

$this

File

src/Plugin/search_api/processor/RenderedItem.php, line 203

Class

RenderedItem
Adds an additional field containing the rendered item.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

protected function setConfigFactory(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
  return $this;
}