public function RouteWrapper::isLink in Drupal 7 to 8/9 Module Upgrader 8
Returns if this route is a normal link.
Return value
bool
1 call to RouteWrapper::isLink()
- RouteWrapper::hasLink in src/
Routing/ Drupal7/ RouteWrapper.php - Returns if this route exposes a link of any kind.
File
- src/
Routing/ Drupal7/ RouteWrapper.php, line 165
Class
- RouteWrapper
- Encapsulates a Drupal 7 route (including the link, if any).
Namespace
Drupal\drupalmoduleupgrader\Routing\Drupal7Code
public function isLink() {
return $this
->get('type') == 'MENU_NORMAL_ITEM';
}