You are here

public function MenuLinkConfig::getUrlObject in Config menu link 8

File

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

Class

MenuLinkConfig
Defines the menu link config entity.

Namespace

Drupal\menu_link_config\Entity

Code

public function getUrlObject() {
  return new Url($this
    ->getRouteName(), $this
    ->getRouteParameters(), $this
    ->getOptions());
}