public function Toolbar::__construct in Simplifying 8
Add __construct.
Parameters
\Drupal\simplifying\Services\SettingsActions $settingsactions:
Add SettingsActions.
\Drupal\Core\Extension\ModuleHandler $modulehandler:
Add ModuleHandler.
\Drupal\Core\Menu\MenuLinkTree $menutree:
Add MenuLinkTree.
\Drupal\Core\Routing\CurrentRouteMatch $currentroutematch:
Add CurrentRouteMatch.
File
- src/
Services/ Toolbar.php, line 66
Class
- Toolbar
- Class Toolbar.
Namespace
Drupal\simplifying\ServicesCode
public function __construct(SettingsActions $settingsactions, ModuleHandler $modulehandler, MenuLinkTree $menutree, CurrentRouteMatch $currentroutematch) {
$this->settingsactions = $settingsactions;
$this->modulehandler = $modulehandler;
$this->menutree = $menutree;
$this->currentroutematch = $currentroutematch;
}