Problem/Motivation
When using UI Suite DaisyUI with a subtheme (genrerated with starterkit) , I want to hide some of the components that come from the parent theme.
So I do for example (in the subtheme):
name: Button
description: "Buttons allow the user to take actions or make choices."
group: Actions
replaces: ui_suite_daisyui:button
noUi: true
...
The replaces and noUi don't work together.
If used individually, both key work.
Issue fork ui_patterns-3555244
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
g4mbiniComment #3
g4mbiniComment #4
g4mbiniComment #7
just_like_good_vibesComment #8
just_like_good_vibesComment #11
christian.wiedemann commentedComment #13
christian.wiedemann commentedComment #14
g4mbiniDon't know what I'm missing but components overriden in my subtheme like below still show up in Patterns library and Layout Builder ...
Comment #15
pdureau commentedComment #16
christian.wiedemann commentedAh shit. I will fix it. Sorry missunderstood the issue.
Comment #18
christian.wiedemann commentedThe logic was not working from my point of view. I refactored it a bit and added tests. Now it should work
Comment #19
g4mbiniThanks my friend, that works for me now in Patterns Library and Layout Builder !
Regarding the code, not able to judge ...
Comment #21
pdureau commented