-
-
Notifications
You must be signed in to change notification settings - Fork 599
[5.x] Ability to configure blueprint storage paths #10639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x] Ability to configure blueprint storage paths #10639
Conversation
|
Got a test failure on this but can't figure out what the error is. It's happening in |
|
You can add |
Ah thanks! I'll give that a go. |
…leight/statamic-cms into feature/split-blueprint-repository
|
Change made. |
This PR adds the ability to configure the blueprint (and fieldset) storage paths.
There are two new config options under
systemwhere you can specify the paths:Additionally the
blueprints_pathwill accept an array, allowing you to have different paths for different types of blueprint. This is particularly useful for form blueprints when you want them to be located along with other editable content (ie. if you exclude content from git and don't want the form blueprints tracked):Notes
defaultpath, which is the path that will be used for blueprint types you haven't explicitly specified.content/forms/blueprints/contact.yamlnotcontent/forms/blueprints/forms/contact.yaml. This required some additional changes in a couple of places but I think it makes sense.