You are here

public function ContentEntity::setConfigFactory in Search API 8

Sets the config factory.

Parameters

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

Return value

$this

File

src/Plugin/search_api/datasource/ContentEntity.php, line 368

Class

ContentEntity
Represents a datasource which exposes the content entities.

Namespace

Drupal\search_api\Plugin\search_api\datasource

Code

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