Problem/Motivation
The comment.type.comment.yml
config which is shipped with the standard profile
has an undeclared dependency on node.module
.
How to reproduce
- Install Drupal with the Standard profile.
- Head over to
/admin/modules/uninstall
. - Uninstall the History and Taxonomy modules.
- Uninstall the Node module.
- Visit
/admin/structure/comment/manage/comment/delete
.
You should see PluginNotFoundException
: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "node" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition()
Proposed resolution
Add a dependency on the node module
Remaining tasks
Write test to confirm bug.- Patch.