public function BakeryUserHooks::__construct in Bakery Single Sign-On System 8.2
When the service is created, set a value for the example variable.
File
- src/
BakeryUserHooks.php, line 34
Class
Namespace
Drupal\bakeryCode
public function __construct(Kitchen $kitchen, ConfigFactoryInterface $config_factory, AccountProxy $current_user) {
$this->kitchen = $kitchen;
$this->config = $config_factory
->get('bakery.settings');
$this->currentUser = $current_user;
}