mirror of
https://github.com/xtr-dev/payload-automation.git
synced 2025-12-10 00:43:23 +00:00
- This is the ONLY time we can modify collection configs before PayloadCMS finalizes them - Directly push hooks into config.collections[].hooks.afterChange arrays - This happens BEFORE PayloadCMS processes and freezes the configurations - If this doesn't work, the plugin architecture is fundamentally incompatible This is the last possible approach - modifying the actual collection config objects before they're processed by PayloadCMS.
7.5 KiB
7.5 KiB