You are here

public function RouteWrapperInterface::getParent in Drupal 7 to 8/9 Module Upgrader 8

Gets the parent route, if there is one. The parent should also be wrapped.

Return value

static|null

2 methods override RouteWrapperInterface::getParent()
RouteWrapper::getParent in src/Routing/Drupal7/RouteWrapper.php
Gets the parent route, if there is one. The parent should also be wrapped.
RouteWrapper::getParent in src/Routing/Drupal8/RouteWrapper.php
Gets the parent route, if there is one. The parent should also be wrapped.

File

src/Routing/RouteWrapperInterface.php, line 37

Class

RouteWrapperInterface
Common interface implemented by classes which wrap around Drupal 7 or Drupal 8 routes.

Namespace

Drupal\drupalmoduleupgrader\Routing

Code

public function getParent();