Problem/Motivation

If this module is enabled during site installation this error happens:

In EntityTypeRepository.php line 98:

  The Drupal\menu_link_content\Entity\MenuLinkContent class does not correspond to an entity type.

This is due to the module not defining "menu_link_content" as a dependency.

To reproduce this issue, create a profile "config_install: true" in the profile info yaml and ensure this module is enabled on install, then run:

drush si myprofile

Proposed resolution

Add "menu_link_content" as a module dependency.

Comments

josephdpurcell created an issue. See original summary.

josephdpurcell’s picture

Status: Active » Needs review
StatusFileSize
new359 bytes

The attached patch resolves the issue.

josephdpurcell’s picture

Title: Error during installation » MenuLinkContent error during installation
Issue summary: View changes
josephdpurcell’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Status: Needs review » Fixed

This issue was for the Drupal 8 version of the module.

It appears this issue is now resolved, see https://git.drupalcode.org/project/gdpr_onetrust/-/blob/8.x-1.x/gdpr_one....

I'm closing this issue.

Status: Fixed » Closed (fixed)

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