Commit 4f28758c authored by gbyte.co's avatar gbyte.co

Issue #3053171 by Thomas Cys, gbyte.co: Follow-up empty rows in XML for menu items

parent 817aae8d
...@@ -156,7 +156,7 @@ class EntityMenuLinkContentUrlGenerator extends EntityUrlGeneratorBase { ...@@ -156,7 +156,7 @@ class EntityMenuLinkContentUrlGenerator extends EntityUrlGeneratorBase {
if ($url_object->isRouted()) { if ($url_object->isRouted()) {
// Do not include paths that have no URL. // Do not include paths that have no URL.
if($url_object->getRouteName() === '<nolink>') { if (in_array($url_object->getRouteName(), ['<nolink>', '<none>'])) {
return FALSE; return FALSE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment