function EventInfoController::create

Same name in other branches
  1. 5.x src/Controller/EventInfoController.php \Drupal\devel\Controller\EventInfoController::create()

Overrides ControllerBase::create

File

src/Controller/EventInfoController.php, line 34

Class

EventInfoController
Provides route responses for the event info page.

Namespace

Drupal\devel\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('event_dispatcher'));
}