public function CalendarController::__construct in Content Planner 8
Constructs a new CalendarController object.
File
- modules/
content_calendar/ src/ Controller/ CalendarController.php, line 42
Class
- CalendarController
- Class CalendarController.
Namespace
Drupal\content_calendar\ControllerCode
public function __construct(RequestStack $request_stack, ContentTypeConfigService $content_type_config_service, ContentCalendarService $content_calendar_service, AccountProxyInterface $current_user) {
$this->request = $request_stack
->getCurrentRequest();
$this->contentTypeConfigService = $content_type_config_service;
$this->contentCalendarService = $content_calendar_service;
$this->currentUser = $current_user;
}