As the main deliverable for a website, the theme is an ideal place to install new Flex Object blueprints. However, just adding
blueprints/flex-objects/newobject.yaml doesn’t appear to be enough to register the new object type.
The Flex Object README refers to
onFlexInit, however the source code states
// This event is for backwards compatibility only, do not use it!.
So what is the correct way to register Flex Object blueprints in a theme or plugin? Is there an example somewhere that I’ve missed?