Implement \Drupal\Core\Extension\ModuleUninstallValidatorInterface, check blog entities.

Do not allow the module to be uninstall while there is related, blog post content.

Comments

nevergone created an issue. See original summary.

nevergone’s picture

nevergone’s picture

Issue summary: View changes
nevergone’s picture

Status: Active » Needs work
nevergone’s picture

nevergone’s picture

nevergone’s picture

Status: Needs work » Fixed
paintingguy’s picture

I still cannot reinstall to properly uninstall the blog module.

Unable to install Blog, core.entity_form_display.node.blog_post.default, core.entity_view_display.node.blog_post.default, core.entity_view_display.node.blog_post.teaser, node.type.blog_post already exist in active configuration.

nevergone’s picture

@paintingguy: copy the newest blog module and run database update.

Related issue: #2780203: Uninstalling module is not completely uninstalling

paintingguy’s picture

@nevergone
Yes, I did this before I posted here. Tried it again and it I get this same message:

Unable to install Blog, core.entity_form_display.node.blog_post.default, core.entity_view_display.node.blog_post.default, core.entity_view_display.node.blog_post.teaser, node.type.blog_post already exist in active configuration.

nevergone’s picture

@paintingguy which version?

paintingguy’s picture

@nevergone
blog 3.10
drupal 9.4.2

nevergone’s picture

Status: Fixed » Closed (fixed)

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