Hi, how can I register a blueprint/group-field inside a plugin?
I´ve tried…
// path: plugins/my-plugin/my-plugin.php
$kirby->set('blueprint/field', 'testgroup2', __DIR__. DS .'testgroup2.yml');
# path: plugins/my-plugin/testgroup2.yml
type: group
fields:
testgroup2_headline:
label: Testgroup 2
type: headline
testgroup2_text:
label: Text
type: text