protected function TwigExtensionBase::getSettingsSingleton in Bamboo Twig 8.5
Same name and namespace in other branches
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getSettingsSingleton()
- 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getSettingsSingleton()
- 8.4 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getSettingsSingleton()
Read only settings singleton.
Return value
\Drupal\Core\Site\Settings Return The settings object.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 87
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getSettingsSingleton() {
return $this->container
->get('settings');
}