function UserLazyBuilder::__construct
Same name in other branches
- 11.x core/modules/navigation/src/UserLazyBuilder.php \Drupal\navigation\UserLazyBuilder::__construct()
Constructs an UserLazyBuilder object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
\Drupal\Core\Session\AccountProxyInterface $account: The current user.
File
-
core/
modules/ navigation/ src/ UserLazyBuilder.php, line 30
Class
- UserLazyBuilder
- User navigation block lazy builder.
Namespace
Drupal\navigationCode
public function __construct(ModuleHandlerInterface $moduleHandler, AccountProxyInterface $account) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.