You are here

public function CookieCategoryHtmlRouteProvider::getRoutes in EU Cookie Compliance (GDPR Compliance) 8

Same name and namespace in other branches
  1. 2.0.x src/CookieCategoryHtmlRouteProvider.php \Drupal\eu_cookie_compliance\CookieCategoryHtmlRouteProvider::getRoutes()

Provides routes for entities.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type

Return value

\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.

Overrides DefaultHtmlRouteProvider::getRoutes

File

src/CookieCategoryHtmlRouteProvider.php, line 19

Class

CookieCategoryHtmlRouteProvider
Provides routes for Cookie category entities.

Namespace

Drupal\eu_cookie_compliance

Code

public function getRoutes(EntityTypeInterface $entity_type) {
  return parent::getRoutes($entity_type);
}