You are here

public static function CalendarEventController::create in Fullcalendar View 8

Same name and namespace in other branches
  1. 8.3 src/Controller/CalendarEventController.php \Drupal\fullcalendar_view\Controller\CalendarEventController::create()
  2. 8.2 src/Controller/CalendarEventController.php \Drupal\fullcalendar_view\Controller\CalendarEventController::create()
  3. 6.x src/Controller/CalendarEventController.php \Drupal\fullcalendar_view\Controller\CalendarEventController::create()
  4. 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\Controller

Code

public static function create(ContainerInterface $container) {
  $loggerFactory = $container
    ->get('logger.factory');
  return new static($loggerFactory);
}