You are here

public function AgreementRouteProvider::__construct in Agreement 3.0.x

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

Initialize method.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.

File

src/Entity/Routing/AgreementRouteProvider.php, line 32

Class

AgreementRouteProvider
Provide routes for each agreement entity.

Namespace

Drupal\agreement\Entity\Routing

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}