Skip to content

Conversation

markusmoosbrugger
Copy link
Contributor

@markusmoosbrugger markusmoosbrugger commented Jul 24, 2019

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets part of #190
Related issues/PRs sulu/sulu#4643
License MIT

What's in this PR?

This PR adds a FormMetadataLoader which is responsible for loading the form metadata for the form form_details.
The exceptional characteristic of this form metadata is, that a part of it is loaded via the typical FormXmlLoader and the other part (section form fields) is loaded dynamically for each form field which is included in the FormFieldTypePool.

The class DynamicFormMetadataLoader implements the FormMetadataLoaderInterface and has been tagged in the services.xml file in order to get injected into the existing FormMetadataProvider. For this functionality Sulu Core changes are required (see PR sulu/sulu#4643).

Why?

Provide a custom FormMetadataLoader which loads the form fields dynamically.

BC Breaks/Deprecations

Describe BC breaks/deprecations here. (remove this section if not needed)

To Do

  • Update CHANGELOG.md
  • Create documentation

@markusmoosbrugger markusmoosbrugger force-pushed the feature/upgrade-sulu-2-advanced branch from 22d3483 to 54289cc Compare August 9, 2019 08:11
@danrot danrot merged commit a96670c into sulu:develop Aug 9, 2019
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

Successfully merging this pull request may close these issues.

2 participants