You are here

public function Database::getConfigFactory in Search API 8

Returns the config factory to use for this plugin.

Return value

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

File

modules/search_api_db/src/Plugin/search_api/backend/Database.php, line 275

Class

Database
Indexes and searches items using the database.

Namespace

Drupal\search_api_db\Plugin\search_api\backend

Code

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