Once

Categories

Component ID

2391691

Component name

Once

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is a placeholder for a module idea.

Once would run some arbitrary code implemented within a hook a single time. The motivation was originally from issues surrounding writing install/update hooks that would pre-populate some entities, but were dependent on fields that would need to be created within a Features module revert. Reverts typically occur after database updates in continuous integration setups. So writing an update hook-like script that could be called on demand could provide a workaround.