Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2224581: Delete forum data on uninstall
Problem/Motivation
#2224581: Delete forum data on uninstall added a generic way to remove/cleanup configurations on module uninstall. Book module provides note type and need to add cleanup as per forum one.
Proposed resolution
use the API introduced by #2224581: Delete forum data on uninstall.
Remaining tasks
Patch
User interface changes
N/A
API changes
None
Comments
Comment #1
vijaycs85Comment #2
vijaycs85let's wait for #2224581: Delete forum data on uninstall to get in.
Comment #3
catchJust committed #2224581: Delete forum data on uninstall.
Comment #4
BerdirWhat I don't fully understand yet is why forum and now book are special. Isn't this the same for all node types, for example?
Comment #5
vijaycs85of course it is. But we don't have option to remove them as generic - because we want to do action when the module that provides the details get different state?
Comment #6
catchDuplicate of #1002164: The Book module can be uninstalled with nodes with a book node type still existing.
@Berdir it's probably true of all node types that are shipped with modules.
Node types shipped with profiles are somewhat exempt because profiles can't be uninstalled.