You are here

public function DefaultHtmlRouteProvider::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider::__construct()

Constructs a new DefaultHtmlRouteProvider.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 46
Contains \Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider.

Class

DefaultHtmlRouteProvider
Provides HTML routes for entities.

Namespace

Drupal\Core\Entity\Routing

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}