You are here

public function ShortcutLazyBuilders::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/shortcut/src/ShortcutLazyBuilders.php \Drupal\shortcut\ShortcutLazyBuilders::__construct()
  2. 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\shortcut

Code

public function __construct(RendererInterface $renderer) {
  $this->renderer = $renderer;
}