The preInit lifecycle hook runs just before a pattern will be initialized.
preInit
null hook(Pattern pattern)
pattern.on('preInit', pattern => { // Mutate the pattern object here }
The preInit hook is rarely used, but it’s there if you need it.