public function ShortcutLazyBuilders::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/shortcut/src/ShortcutLazyBuilders.php \Drupal\shortcut\ShortcutLazyBuilders::__construct()
- 10 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;
}