function ToolbarController::__construct

Same name in other branches
  1. 10 core/modules/toolbar/src/Controller/ToolbarController.php \Drupal\toolbar\Controller\ToolbarController::__construct()

Constructs a ToolbarController object.

Parameters

\Drupal\Component\Datetime\TimeInterface $time: The time service.

File

core/modules/toolbar/src/Controller/ToolbarController.php, line 26

Class

ToolbarController
Defines a controller for the toolbar module.

Namespace

Drupal\toolbar\Controller

Code

public function __construct(?TimeInterface $time = NULL) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.