Problem/Motivation

I encountered a situation where I want to take some actions upon installing a module, and the actions depend on some default content of the same module. I don't think I can solve that in a straightforward way with the current strategy, where content is always imported after the module (and any dependencies) are installed.

Proposed resolution

Not sure.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Arla created an issue. See original summary.

larowlan’s picture

Status: Active » Postponed (maintainer needs more info)

Does http://cgit.drupalcode.org/default_content/commit/?id=80fb60d allow you to do this - an import event and export event that can be subscribed to

matslats’s picture

Do you know about hook_modules_installed($modules)
Which runs after hook_install()

andypost’s picture