0

How can I set the entity install order? now the new table refers to a nonexistent one because the new table has not yet been created

0

Maybe you are looking for the postInstall hook? https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_postInstall/

It is written in the example section:

Another potential use is to act on settings or managed entities that are created during the installation (but not necessarily in order that you want them to be created)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.