public function FullCalendarOpenStateEventFormatter::__construct in Booking and Availability Management Tools for Drupal 8
Same name and namespace in other branches
- 7 modules/bat_fullcalendar/src/FullCalendarOpenStateEventFormatter.php \Drupal\bat_fullcalendar\FullCalendarOpenStateEventFormatter::__construct()
Parameters
\Drupal\Core\Session\AccountInterface $current_user: Current user.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.
File
- modules/
bat_fullcalendar/ src/ FullCalendarOpenStateEventFormatter.php, line 76 - Class FullCalendarOpenStateEventFormatter
Class
Namespace
Drupal\bat_fullcalendarCode
public function __construct(AccountInterface $current_user, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_manager) {
$this->background = TRUE;
$this->currentUser = $current_user;
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
$this->entityTypeManager = $entity_manager;
}