Closed (fixed)
Project:
Sites Migrator
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Dec 2025 at 17:24 UTC
Updated:
25 Dec 2025 at 19:09 UTC
Jump to comment: Most recent
I'm not 100% sure that I got this correctly but it seems to me that we have to use menu_link_content as bundle for group content menu links always. Currently the links migrated with this module end in a Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity:menu_link_content:group_main" plugin does not exist. error on save.
Run Code like
$menu_content_migrator = \Drupal::service('sites_migrator.menu_content_migrator');
$menu_content_migrator->migrateMenuItems('main', 1, 'group_main', 'Main navigation', $output);
To migrate the links and then try to edit and save a migarted link
Hard code menu_link_content as bundle.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
harlor commentedComment #4
jepster_Successfully tested and merged. Thanks @harlor!