diff --git a/core/modules/menu_link_content/src/Entity/MenuLinkContent.php b/core/modules/menu_link_content/src/Entity/MenuLinkContent.php index a12f373..b45568f 100644 --- a/core/modules/menu_link_content/src/Entity/MenuLinkContent.php +++ b/core/modules/menu_link_content/src/Entity/MenuLinkContent.php @@ -143,6 +143,9 @@ public function getPluginDefinition() { $definition['class'] = 'Drupal\menu_link_content\Plugin\Menu\MenuLinkContent'; $definition['menu_name'] = $this->getMenuName(); + $definition['url'] = NULL; + $definition['route_name'] = NULL; + $definition['route_parameters'] = []; if ($url_object = $this->getUrlObject()) { if (!$url_object->isRouted()) { $definition['url'] = $url_object->getUri(); Stage this hunk [y,n,q,a,d,/,e,?]? y