public function FullCalendarFixedStateEventFormatter::__construct in Booking and Availability Management Tools for Drupal 8
Same name and namespace in other branches
- 7 modules/bat_fullcalendar/src/FullCalendarFixedStateEventFormatter.php \Drupal\bat_fullcalendar\FullCalendarFixedStateEventFormatter::__construct()
Parameters
\Drupal\Core\Session\AccountInterface $current_user: Current user.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- modules/
bat_fullcalendar/ src/ FullCalendarFixedStateEventFormatter.php, line 56 - Class FullCalendarFixedStateEventFormatter
Class
Namespace
Drupal\bat_fullcalendarCode
public function __construct(AccountInterface $current_user, ModuleHandlerInterface $module_handler) {
$this->background = TRUE;
$this->currentUser = $current_user;
$this->moduleHandler = $module_handler;
}