You are here

public function EntityModerationRouteProvider::__construct in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Routing/EntityModerationRouteProvider.php \Drupal\workbench_moderation\Routing\EntityModerationRouteProvider::__construct()

Constructs a new DefaultHtmlRouteProvider.

Parameters

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

File

src/Routing/EntityModerationRouteProvider.php, line 35

Class

EntityModerationRouteProvider
Provides the following routes:.

Namespace

Drupal\workbench_moderation\Routing

Code

public function __construct(EntityFieldManagerInterface $entity_manager) {
  $this->entityFieldManager = $entity_manager;
}