Now workflow_access module doesn't support node translations. It should contain something like that:
// Create grants for each translation of the node.
foreach ($node->getTranslationLanguages() as $langcode => $language) {
See node_access_test_language_node_access_records for details.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | workflow-node_access_records_translation_support-2899668-3.patch | 7.49 KB | kalistos |
Comments
Comment #2
kalistos commentedComment #3
kalistos commentedPatch.
Comment #4
johnvComment #6
johnvComment #8
johnvThanks, committed. Sorry for the delay.
I think you even fixed an error by setting the line
$grants[] = [...]within the loop.Comment #9
johnv