Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::getRouteProviders()
  2. 9 core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php \Drupal\Core\Entity\EntityTypeManagerInterface::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[]

File

core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php, line 83

Class

EntityTypeManagerInterface
Provides an interface for entity type managers.

Namespace

Drupal\Core\Entity

Code

public function getRouteProviders($entity_type_id);