Skip to content

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

  1. Add record to FlaggedResource
  2. Add flag to FlagName
  3. Add the mapping to FlaggedResource::FLAGS_FOR_RESOURCES
  4. All should now work out of the box