You are here

protected function RenderedItem::getConfigFactory in Search API 8

Retrieves the config factory service.

Return value

\Drupal\Core\Config\ConfigFactoryInterface The config factory.

File

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

Class

RenderedItem
Adds an additional field containing the rendered item.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

protected function getConfigFactory() {
  return $this->configFactory ?: \Drupal::configFactory();
}