- πΊπΈUnited States recrit
I have ran into this multiple times as well.
Common Use Case: An editor wants to unpublish all translations of a node so that the page is no longer visible to anonymous traffic for any language.Can a core maintainer weigh in on the logic behind this?
Form description: "Only this translation is published. You must publish at least one more translation to unpublish this one."
Code comment in "core/modules/content_translation/src/ContentTranslationHandler.php":// If there is only one published translation we cannot unpublish it, // since there would be nothing left to display.
- "nothing left to display": that is the goal for the use case mentioned above. Users that can view unpublished content will still be able to view it.
- First commit to issue fork.