public function RouteConverterInterface::buildRouteDefinition in Drupal 7 to 8/9 Module Upgrader 8
Builds the Drupal 8 definition for the route, without making any changes to the original module or callback.
Return value
Drupal8\RouteWrapper
1 method overrides RouteConverterInterface::buildRouteDefinition()
- ContentRoute::buildRouteDefinition in src/
Plugin/ DMU/ Routing/ ContentRoute.php - Builds the Drupal 8 definition for the route, without making any changes to the original module or callback.
File
- src/
Routing/ RouteConverterInterface.php, line 43
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\RoutingCode
public function buildRouteDefinition(TargetInterface $target, RouteWrapper $route);