You are here

public function RouteConverterInterface::buildRoute in Drupal 7 to 8/9 Module Upgrader 8

Builds the Drupal 8 route, making any needed changes to the original module and/or callback.

1 method overrides RouteConverterInterface::buildRoute()
ContentRoute::buildRoute in src/Plugin/DMU/Routing/ContentRoute.php
Builds the Drupal 8 route, making any needed changes to the original module and/or callback.

File

src/Routing/RouteConverterInterface.php, line 49

Class

RouteConverterInterface
Defines a route converter, which converts a Drupal 7 router item to a Drupal 8 Symfony route. These plugins are NOT responsible for converting *links* (including tabs or local actions), only the actual route.

Namespace

Drupal\drupalmoduleupgrader\Routing

Code

public function buildRoute(TargetInterface $target, RouteWrapper $route);