
| Current Path : /var/www/html/store1/web/core/lib/Drupal/Core/Entity/Routing/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store1/web/core/lib/Drupal/Core/Entity/Routing/EntityRouteProviderInterface.php |
<?php
namespace Drupal\Core\Entity\Routing;
use Drupal\Core\Entity\EntityTypeInterface;
/**
* Allows entity types to provide routes.
*/
interface EntityRouteProviderInterface {
/**
* Provides routes for entities.
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type
*
* @return \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);
}