function DemoUmamiHooks::__construct
Same name and namespace in other branches
- 11.x core/profiles/demo_umami/src/Hook/DemoUmamiHooks.php \Drupal\demo_umami\Hook\DemoUmamiHooks::__construct()
DemoUmamiHooks constructor.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
\Drupal\Core\Session\AccountInterface $currentUser: The current user.
\Drupal\Core\Routing\AdminContext $adminContext: The admin context.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
File
-
core/
profiles/ demo_umami/ src/ Hook/ DemoUmamiHooks.php, line 34
Class
- DemoUmamiHooks
- Hook implementations for demo_umami.
Namespace
Drupal\demo_umami\HookCode
public function __construct(protected ModuleHandlerInterface $moduleHandler, protected AccountInterface $currentUser, protected AdminContext $adminContext, protected EntityTypeManagerInterface $entityTypeManager) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.