You are here

protected function TwigExtensionBase::getConfigFactory in Bamboo Twig 8.4

Same name and namespace in other branches
  1. 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getConfigFactory()
  2. 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getConfigFactory()
  3. 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getConfigFactory()

Provides an interface for a configuration object factory.

Return value

\Drupal\Core\Config\ConfigFactoryInterface Return the interface for a configuration object factory.

File

src/TwigExtension/TwigExtensionBase.php, line 97

Class

TwigExtensionBase
Provides a Twig Extension Lazy Service Injection.

Namespace

Drupal\bamboo_twig\TwigExtension

Code

protected function getConfigFactory() {
  return $this->container
    ->get('config.factory');
}