i know i can get the blueprint data if i create a pageobject.
but in my case its not so easy to get a proper parent every time (rules for allowed templates etc). so i would like to read the blueprint data without a page object. is that possible? this does not seem to work as expected.
$blueprint = new \Kirby\Cms\Blueprint([
'model' => 'mytemplate'
since the blueprints come from various plugins i can not simply read the yaml file.
almost. see the original blueprints method i linked. one needs blueprints from extensions AND root(‘blueprints’), filtering by type,…
i am just wondering how to create an blueprint instance without a page/file object based on the blueprints the app know about? sure i could create an blueprint instance and forward a yaml file i searched for myself but… no very convenient.