function EntityTypeInfoController::create

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

Overrides ControllerBase::create

File

src/Controller/EntityTypeInfoController.php, line 48

Class

EntityTypeInfoController
Provides route responses for the entity types info page.

Namespace

Drupal\devel\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('devel.dumper'), $container->get('entity.last_installed_schema.repository'));
}