diff --git a/core/modules/menu_ui/menu_ui.module b/core/modules/menu_ui/menu_ui.module index 3656e5f..5d2cc37 100644 --- a/core/modules/menu_ui/menu_ui.module +++ b/core/modules/menu_ui/menu_ui.module @@ -146,6 +146,10 @@ function menu_ui_node_save(EntityInterface $node) { if (!empty($node->menu)) { /** @var \Drupal\menu_link_content\MenuLinkContentInterface $entity */ $definition = $node->menu; + // In case the menu title was left empty, fall back to the node title. + if (empty($definition['title'])) { + $definition['title'] = $node->label(); + } if (trim($definition['title'])) { if (!empty($definition['entity_id'])) { $entity = MenuLinkContent::load($definition['entity_id']);