public function RouteWrapper::hasSiblings in Drupal 7 to 8/9 Module Upgrader 8
Returns if this route has siblings.
Return value
bool
1 call to RouteWrapper::hasSiblings()
- RouteWrapper::getDefaultTask in src/
Routing/ Drupal7/ RouteWrapper.php - Gets the closest default local task, if there is one.
File
- src/
Routing/ Drupal7/ RouteWrapper.php, line 239
Class
- RouteWrapper
- Encapsulates a Drupal 7 route (including the link, if any).
Namespace
Drupal\drupalmoduleupgrader\Routing\Drupal7Code
public function hasSiblings() {
return (bool) $this
->getSiblings() > 0;
}