Problem/Motivation
With UIP2 it is possible to control styles with the attributes props and ui_styles_ui_patterns.
Also styles on slots are not working.
Until we know exactly hat to do, prepare a MR and patch to remove the form alteration on section to not bloater the interface with useless settings.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | ui_styles-3496352-4.patch | 1.11 KB | grimreaper |
Issue fork ui_styles-3496352
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
grimreaperPatch for Composer usage if a project want it.
Comment #4
grimreaperMR rebased to update patch.
Previous one applied but added lines in the submitForm method instead of formAlter.
Comment #5
grimreaperDiscussed with @pdureau,
- For section, change the label (or use description) to indicate that it is deprecated and use the attributes prop instead.
- For regions/slots, it is not working, hide form elements and on form submit, unset existing configuration.
- Do a CR about the potential config loss.
Comment #6
grimreaperCR created: https://www.drupal.org/node/3592893
@pdureau can you give a review please? CR and MR.
Comment #7
grimreaperComment #9
grimreaper