Problem/Motivation
#3412076: [5.1.0] Conversion to SDC & UI Patterns 2.x doesn't work well with UI Patterns 2 (fatal errors!) currently because we still use the #type => markup which was removed in Drupal 8.0: https://www.drupal.org/node/2036237
$ grep -r type.*markup components
components/toast/toast.component.yml: type: markup
components/blockquote/blockquote.component.yml: type: markup
components/toast_container/toast_container.component.yml: type: markup
components/toast_container/toast_container.component.yml: type: markup
components/toast_container/toast_container.component.yml: type: markup
components/toast_container/toast_container.component.yml: type: markup
components/toast_container/toast_container.component.yml: type: markup
Proposed resolution
Remove type: markup from component preview.
Make change in UI Patterns 1.
New UI Patterns 1 release.
Increase requirements in ui_suite_bootstrap
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | remove-obsolete-type-3480414.patch | 2.62 KB | ananya.k |
Issue fork ui_suite_bootstrap-3480414
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 #2
ananya.k commentedComment #3
ananya.k commentedI have made some changes. Please refer to attached patch.
Comment #5
grimreaperHi,
Please create a MR instead of a patch.
Only "type: markup" should be removed, not the markup.
Comment #8
ananya.k commentedComment #10
ananya.k commentedPlease review this MR.
Comment #11
pdureau commentedSee "If you remove the dash ("-") it needs to be intentional (you tested it, and it is not necessary) and the indentation of the block may need to be changed too." comments
Comment #12
grimreaperComment #13
grimreaperComment #14
grimreaperComment #15
grimreaperComment #16
grimreaperPostponed until parent issue is merged
Comment #17
grimreaperComment #19
ananya.k commented