You are here

public function EntityManagerWrapper::getRouteProviders in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getRouteProviders()
  2. 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getRouteProviders()
  3. 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::getRouteProviders()

Gets all route provider instances.

Parameters

string $entity_type_id: The entity type ID for the route providers.

Return value

\Drupal\Core\Entity\Routing\EntityRouteProviderInterface[]

Overrides EntityTypeManagerInterface::getRouteProviders

File

webprofiler/src/Entity/EntityManagerWrapper.php, line 177

Class

EntityManagerWrapper
Class EntityManagerWrapper

Namespace

Drupal\webprofiler\Entity

Code

public function getRouteProviders($entity_type) {
  return $this->entityManager
    ->getRouteProviders($entity_type);
}