Skip to content
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

documentation: Blueprints extends and import #21

Open
drzraf opened this issue Nov 18, 2018 · 0 comments
Open

documentation: Blueprints extends and import #21

drzraf opened this issue Nov 18, 2018 · 0 comments

Comments

@drzraf
Copy link
Contributor

drzraf commented Nov 18, 2018

I'm trying to extends a form and tend to think that documentation is sparse.
extends and import deserve much more than what provides these two documentation sections.
Even the parent@ is a bit hard to catch with. Where is the inheritance defined?

Digging the sourcecode does help as expected. For example blueprints documentation at https://learn.getgrav.org/forms/blueprints is not sufficient to understand BlueprintForm.php,

An overview of the (YAML) functions available, the file path they are looking for, the contexts where they can be used and the YAML structures merge strategies, the level at which they can be used would really help in order to use these constructs at there full value.
Eg: can I import a form:? its ""items""? rules included? or only its fields: and what about extends?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant