function TrackerController::create

Same name in other branches
  1. 9 core/modules/tracker/src/Controller/TrackerController.php \Drupal\tracker\Controller\TrackerController::create()

Overrides ControllerBase::create

File

core/modules/tracker/src/Controller/TrackerController.php, line 83

Class

TrackerController
Controller for tracker pages.

Namespace

Drupal\tracker\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('database'), $container->get('database.replica'), $container->get('comment.statistics'), $container->get('date.formatter'), $container->get('entity_type.manager'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.