You are here

public function ContentEntity::getConfigFactory in Search API 8

Retrieves the config factory.

Return value

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

File

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

Class

ContentEntity
Represents a datasource which exposes the content entities.

Namespace

Drupal\search_api\Plugin\search_api\datasource

Code

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