You are here

public function Email::getConfigFactory in Search API Saved Searches 8

Retrieves the config factory.

Return value

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

File

src/Plugin/search_api_saved_searches/notification/Email.php, line 110

Class

Email
Provides e-mails as a notification mechanism.

Namespace

Drupal\search_api_saved_searches\Plugin\search_api_saved_searches\notification

Code

public function getConfigFactory() {
  return $this->configFactory ?: \Drupal::service('config.factory');
}