public static function CalendarEventController::create in Fullcalendar View 8
Same name and namespace in other branches
- 8.3 src/Controller/CalendarEventController.php \Drupal\fullcalendar_view\Controller\CalendarEventController::create()
- 8.2 src/Controller/CalendarEventController.php \Drupal\fullcalendar_view\Controller\CalendarEventController::create()
- 6.x src/Controller/CalendarEventController.php \Drupal\fullcalendar_view\Controller\CalendarEventController::create()
- 5.x src/Controller/CalendarEventController.php \Drupal\fullcalendar_view\Controller\CalendarEventController::create()
Create a CalendarEventController instance.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: Container object.
Return value
\Drupal\fullcalendar_view\Controller\CalendarEventController The instance of CalendarEventController.
Overrides ControllerBase::create
File
- src/
Controller/ CalendarEventController.php, line 36
Class
- CalendarEventController
- Calendar Event Controller.
Namespace
Drupal\fullcalendar_view\ControllerCode
public static function create(ContainerInterface $container) {
$loggerFactory = $container
->get('logger.factory');
return new static($loggerFactory);
}