You are here

public function AddToCalendarIcsController::__construct in Open Social 8.9

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_event/modules/social_event_addtocal/src/Controller/AddToCalendarIcsController.php \Drupal\social_event_addtocal\Controller\AddToCalendarIcsController::__construct()
  2. 10.0.x modules/social_features/social_event/modules/social_event_addtocal/src/Controller/AddToCalendarIcsController.php \Drupal\social_event_addtocal\Controller\AddToCalendarIcsController::__construct()
  3. 10.1.x modules/social_features/social_event/modules/social_event_addtocal/src/Controller/AddToCalendarIcsController.php \Drupal\social_event_addtocal\Controller\AddToCalendarIcsController::__construct()
  4. 10.2.x modules/social_features/social_event/modules/social_event_addtocal/src/Controller/AddToCalendarIcsController.php \Drupal\social_event_addtocal\Controller\AddToCalendarIcsController::__construct()

AddToCalendarIcsController constructor.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The current request.

\Drupal\Core\File\FileSystemInterface $file_system: The file system service.

File

modules/social_features/social_event/modules/social_event_addtocal/src/Controller/AddToCalendarIcsController.php, line 38

Class

AddToCalendarIcsController
Class AddToCalendarIcsController.

Namespace

Drupal\social_event_addtocal\Controller

Code

public function __construct(Request $request, FileSystemInterface $file_system) {
  $this->request = $request;
  $this->fileSystem = $file_system;
}