Commit 4f28758c authored by Pawel G's avatar Pawel G

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

parent 817aae8d
......@@ -156,7 +156,7 @@ class EntityMenuLinkContentUrlGenerator extends EntityUrlGeneratorBase {
if ($url_object->isRouted()) {
// Do not include paths that have no URL.
if($url_object->getRouteName() === '<nolink>') {
if (in_array($url_object->getRouteName(), ['<nolink>', '<none>'])) {
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