function UserThemeHooks::__construct

Same name and namespace in other branches
  1. 11.x core/modules/user/src/Hook/UserThemeHooks.php \Drupal\user\Hook\UserThemeHooks::__construct()

File

core/modules/user/src/Hook/UserThemeHooks.php, line 24

Class

UserThemeHooks
Hook implementations for user.

Namespace

Drupal\user\Hook

Code

public function __construct(protected AccountInterface $currentUser, protected ThemeSettingsProvider $themeSettingsProvider) {
}

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