Problem/Motivation

It would be useful if modules could respond to the enablement of a scenario, as right now the Scenarios API only allows for hooks to be run after individual migrations have finished.

Proposed resolution

Add a new hook, hook_scenarios_post_enable(), which will enable this functionality.

Remaining tasks

Review the patch.

User interface changes

None.

API changes

hook_scenarios_post_enable() has been added and documented.

Data model changes

None.

CommentFileSizeAuthor
scenarios-post-enable.patch1.1 KBsamuel.mortenson

Comments

samuel.mortenson created an issue. See original summary.

saltednut’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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