public function Database::setConfigFactory in Search API 8
Sets the config factory to use for this plugin.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory to use for this plugin.
Return value
$this
File
- modules/
search_api_db/ src/ Plugin/ search_api/ backend/ Database.php, line 287
Class
- Database
- Indexes and searches items using the database.
Namespace
Drupal\search_api_db\Plugin\search_api\backendCode
public function setConfigFactory(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
return $this;
}