Problem/Motivation

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.

Steps to reproduce

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

Proposed resolution

Hard code menu_link_content as bundle.

Command icon Show commands

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

harlor created an issue. See original summary.

harlor’s picture

Assigned: Unassigned » jepster_
Status: Active » Needs review
jepster_’s picture

Status: Needs review » Fixed

Successfully tested and merged. Thanks @harlor!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.