Environment: Sitecore 9.2 & SXA 1.8
I have an
Item that has been used as a parameter in multiple items.
Item A has been used in
Item C, and
Item A is used in multiple items (more than one item) at the same time, it should be publishable otherwise it shouldn't.
Item A is used in multiple items and content editor removes it from all the items except one, then it must be unpublished immediately.
How to publish/unpublish
Item A on the basis of items that reference it.