You are here

public function MenuLinkConfig::getRouteName in Config menu link 8

2 calls to MenuLinkConfig::getRouteName()
MenuLinkConfig::getPluginDefinition in src/Entity/MenuLinkConfig.php
MenuLinkConfig::getUrlObject in src/Entity/MenuLinkConfig.php

File

src/Entity/MenuLinkConfig.php, line 68
Contains \Drupal\menu_link_config\Entity\MenuLinkConfig.

Class

MenuLinkConfig
Defines the menu link config entity.

Namespace

Drupal\menu_link_config\Entity

Code

public function getRouteName() {
  return $this->route_name ?: '<front>';
}