public function RouteWrapper::hasParent 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::hasParent()
- 8 src/Routing/Drupal8/RouteWrapper.php \Drupal\drupalmoduleupgrader\Routing\Drupal8\RouteWrapper::hasParent()
Returns if this route has a parent.
Return value
bool
Overrides RouteWrapperInterface::hasParent
File
- src/
Routing/ Drupal7/ RouteWrapper.php, line 75
Class
- RouteWrapper
- Encapsulates a Drupal 7 route (including the link, if any).
Namespace
Drupal\drupalmoduleupgrader\Routing\Drupal7Code
public function hasParent() {
return isset($this->parent);
}