public function NotificationsWidgetService::__construct in Notifications widget 8
File
- src/
Services/ NotificationsWidgetService.php, line 70
Class
- NotificationsWidgetService
- Service handler for Notification Logger.
Namespace
Drupal\notifications_widget\ServicesCode
public function __construct(AccountProxy $current_user, Connection $database, RequestStack $request, ConfigFactoryInterface $config_factory, LoggerChannelFactory $loggerFactory, Token $token, TimeInterface $time) {
$this->currentUser = $current_user;
$this->database = $database;
$this->request = $request;
$this->configFactory = $config_factory;
$this->loggerFactory = $loggerFactory
->get('activity_tracking');
$this->token = $token;
$this->time = $time;
}