Flagged Resources and How to Work with Them¶
Some resources can be flagged with certain flags, for now only - order - client
These are specified in FTMO\System\FlagStorage\FlaggedResource.
Adding a New Flaggable Resource or Flag¶
- Add record to
FlaggedResource - Add flag to
FlagName - Add the mapping to
FlaggedResource::FLAGS_FOR_RESOURCES - All should now work out of the box