Pass menu name when setting up a legacy trigger menu
Pass menu name when setting up a legacy trigger menu. This avoids using (global) config flags.
This is the final item to make derivations run without global config flags. If there is a better solution, I'm happy to close this MR.
/cc @fwinkl