function ShortcutLazyBuilders::__construct

Same name 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()
  3. 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\shortcut

Code

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.