protected function TwigExtensionBase::getPluginManagerBlock in Bamboo Twig 8.4
Same name and namespace in other branches
- 8.5 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getPluginManagerBlock()
- 8.2 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getPluginManagerBlock()
- 8.3 src/TwigExtension/TwigExtensionBase.php \Drupal\bamboo_twig\TwigExtension\TwigExtensionBase::getPluginManagerBlock()
Manages discovery and instantiation of block plugins.
Return value
\Drupal\Core\Block\BlockManagerInterface Return the block manager.
File
- src/
TwigExtension/ TwigExtensionBase.php, line 57
Class
- TwigExtensionBase
- Provides a Twig Extension Lazy Service Injection.
Namespace
Drupal\bamboo_twig\TwigExtensionCode
protected function getPluginManagerBlock() {
return $this->container
->get('plugin.manager.block');
}