function HistoryHooks::__construct
Constructs a new HistoryHooks object.
Parameters
\Drupal\Core\Session\AccountInterface $currentUser: The current user account.
File
-
core/
modules/ history/ src/ Hook/ HistoryHooks.php, line 27
Class
- HistoryHooks
- Hook implementations for history.
Namespace
Drupal\history\HookCode
public function __construct(protected AccountInterface $currentUser) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.