protected function TwigExtensionBase::getStateFactory in Bamboo Twig 8.4
Same name and namespace in other branches
- 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getStateFactory()
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getStateFactory()
- 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getStateFactory()
The state storage service.
Return value
\\Drupal\Core\State\StateInterface Return the state storage service.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 107
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getStateFactory() {
return $this->container
->get('state');
}