public EntityRouteProviderInterface::getRoutes(EntityTypeInterface $entity_type)
Provides routes for entities.
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type
\Symfony\Component\Routing\RouteCollection|\Symfony\Component\Routing\Route[] Returns a route collection or an array of routes keyed by name, like route_callbacks inside 'routing.yml' files.
public function getRoutes(EntityTypeInterface $entity_type);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Routing!EntityRouteProviderInterface.php/function/EntityRouteProviderInterface::getRoutes/8.1.x