function EntityRouteHelper::__construct

EntityRouteHelper constructor.

Parameters

\Drupal\Core\Routing\CurrentRouteMatch $routeMatch: The route match.

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

\Drupal\Core\Cache\CacheBackendInterface $cacheBackend: The cache backend.

File

core/modules/navigation/src/EntityRouteHelper.php, line 40

Class

EntityRouteHelper
Helper service to detect entity routes.

Namespace

Drupal\navigation

Code

public function __construct(CurrentRouteMatch $routeMatch, EntityTypeManagerInterface $entityTypeManager, CacheBackendInterface $cacheBackend) {
}

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