public function EventController::__construct in Booking and Availability Management Tools for Drupal 8
Constructs a TypeController object.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The current request.
File
- modules/
bat_event/ src/ Controller/ EventController.php, line 35 - Contains \Drupal\bat_event\Controller\EventController.
Class
- EventController
- Returns responses for Type routes.
Namespace
Drupal\bat_event\ControllerCode
public function __construct(Request $request) {
$this->request = $request;
}