public function RouteWrapper::getParent in Drupal 7 to 8/9 Module Upgrader 8
Same name in this branch
- 8 src/Routing/Drupal7/RouteWrapper.php \Drupal\drupalmoduleupgrader\Routing\Drupal7\RouteWrapper::getParent()
- 8 src/Routing/Drupal8/RouteWrapper.php \Drupal\drupalmoduleupgrader\Routing\Drupal8\RouteWrapper::getParent()
Gets the parent route, if there is one. The parent should also be wrapped.
Return value
static|null
Overrides RouteWrapperInterface::getParent
File
- src/
Routing/ Drupal7/ RouteWrapper.php, line 82
Class
- RouteWrapper
- Encapsulates a Drupal 7 route (including the link, if any).
Namespace
Drupal\drupalmoduleupgrader\Routing\Drupal7Code
public function getParent() {
return $this->parent;
}