Follow-up to #2224581: Delete forum data on uninstall


#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


User interface changes


API changes



vijaycs85’s picture

Assigned: larowlan » Unassigned
vijaycs85’s picture

Status: Reviewed & tested by the community » Postponed
catch’s picture

Status: Postponed » Active
Berdir’s picture

What 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?

vijaycs85’s picture

of 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?

catch’s picture

Status: Active » Closed (duplicate)

Duplicate 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.