How to manually attach custom part to a ContentItem? #10824
-
I have two modules/features "Events" and "Teams". The events module provides a content-type called When both featured "Events and Teams" are enabled, I want to always attach
The
In the Events module, I created the following display driver to weld the
Finally, to use the
However, the I am guessing I tried changing my driver to the the following
But I am not sure how will |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For |
Beta Was this translation helpful? Give feedback.
For
EventVisibilityPartWithTeamDisplayDriver
useContentDisplayDriver
and useViewModel
and read usingcontentItem.As<>()
and Weld/Merge in Update