You are here

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

Builds the Drupal 8 path for the route.

The path should be prefixed by a slash, and contain {slugs} corresponding to parameters of the callback method which can accept input from the path. Parameters are matched to slugs by name and type hint.

Return value

\Drupal\drupalmoduleupgrader\Utility\Path\PathUtilityInterface

1 method overrides RouteConverterInterface::buildPath()
ContentRoute::buildPath in src/Plugin/DMU/Routing/ContentRoute.php
Builds the Drupal 8 path for the route.

File

src/Routing/RouteConverterInterface.php, line 35

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 buildPath(TargetInterface $target, RouteWrapper $route);