You are here

public function SavedSearchTypeDeleteConfirmForm::getConfigManager in Search API Saved Searches 8

Retrieves the config manager.

Return value

\Drupal\Core\Config\ConfigManager The config manager.

1 call to SavedSearchTypeDeleteConfirmForm::getConfigManager()
SavedSearchTypeDeleteConfirmForm::buildForm in src/Form/SavedSearchTypeDeleteConfirmForm.php
Form constructor.

File

src/Form/SavedSearchTypeDeleteConfirmForm.php, line 44

Class

SavedSearchTypeDeleteConfirmForm
Provides a form for deleting saved search types.

Namespace

Drupal\search_api_saved_searches\Form

Code

public function getConfigManager() {
  return $this->configManager ?: \Drupal::service('config.manager');
}