You are here

public function RouteWrapper::getPath in Drupal 7 to 8/9 Module Upgrader 8

Same name in this branch
  1. 8 src/Routing/Drupal7/RouteWrapper.php \Drupal\drupalmoduleupgrader\Routing\Drupal7\RouteWrapper::getPath()
  2. 8 src/Routing/Drupal8/RouteWrapper.php \Drupal\drupalmoduleupgrader\Routing\Drupal8\RouteWrapper::getPath()

Returns a PathUtilityInterface implementation for the route.

Return value

\Drupal\drupalmoduleupgrader\Utility\Path\PathUtilityInterface

Overrides RouteWrapperInterface::getPath

1 call to RouteWrapper::getPath()
RouteWrapper::onRouterBuilt in src/Routing/Drupal7/RouteWrapper.php
React to the router (i.e., the collection of routes defined by the module) being completely built.

File

src/Routing/Drupal7/RouteWrapper.php, line 68

Class

RouteWrapper
Encapsulates a Drupal 7 route (including the link, if any).

Namespace

Drupal\drupalmoduleupgrader\Routing\Drupal7

Code

public function getPath() {
  return $this->path;
}