function ShortcutLazyBuilders::__construct
Same name in other branches
- 8.9.x core/modules/shortcut/src/ShortcutLazyBuilders.php \Drupal\shortcut\ShortcutLazyBuilders::__construct()
- 10 core/modules/shortcut/src/ShortcutLazyBuilders.php \Drupal\shortcut\ShortcutLazyBuilders::__construct()
- 11.x core/modules/shortcut/src/ShortcutLazyBuilders.php \Drupal\shortcut\ShortcutLazyBuilders::__construct()
Constructs a new ShortcutLazyBuilders object.
Parameters
\Drupal\Core\Render\RendererInterface $renderer: The renderer service.
File
-
core/
modules/ shortcut/ src/ ShortcutLazyBuilders.php, line 27
Class
- ShortcutLazyBuilders
- Lazy builders for the shortcut module.
Namespace
Drupal\shortcutCode
public function __construct(RendererInterface $renderer) {
$this->renderer = $renderer;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.