You are here

protected function IgnoredPathsTrait::getConfigFactory in Automatic Updates 8

Gets the config factory.

Return value

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

File

src/IgnoredPathsTrait.php, line 33

Class

IgnoredPathsTrait
Provide a helper to check if file paths are ignored.

Namespace

Drupal\automatic_updates

Code

protected function getConfigFactory() {
  if (isset($this->configFactory)) {
    return $this->configFactory;
  }
  return \Drupal::configFactory();
}