public function RouteWrapper::hasChildren in Drupal 7 to 8/9 Module Upgrader 8
Returns if this route has children.
Return value
bool
File
- src/
Routing/ Drupal7/ RouteWrapper.php, line 221
Class
- RouteWrapper
- Encapsulates a Drupal 7 route (including the link, if any).
Namespace
Drupal\drupalmoduleupgrader\Routing\Drupal7Code
public function hasChildren() {
return $this
->getChildren()
->count() > 0;
}