function ShortcutLazyBuilders::__construct
Same name in other branches
- 9 core/modules/shortcut/src/ShortcutLazyBuilders.php \Drupal\shortcut\ShortcutLazyBuilders::__construct()
- 8.9.x 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.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
\Drupal\Core\Session\AccountInterface $currentUser: The current user.
File
-
core/
modules/ shortcut/ src/ ShortcutLazyBuilders.php, line 33
Class
- ShortcutLazyBuilders
- Lazy builders for the shortcut module.
Namespace
Drupal\shortcutCode
public function __construct(RendererInterface $renderer, EntityTypeManagerInterface $entityTypeManager, AccountInterface $currentUser) {
$this->renderer = $renderer;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.