developer-documentation
developer-documentation copied to clipboard
POST/PUT/PATCH email api translation parent
I opened this PR for a discussion.
https://github.com/mautic/mautic/issues/7604 pointed out that you dont have to specify translationParent
but templateTranslationParent
OR segmentedTranslationParent
instead. This works on the current 2.16 release fine.
Beside that, translationChildren
are not evaluated because the backend always calls $parent->getTranslationChildren()
.
How would i document that different variable name depended on emailType? If i have a "nicer" solution i will create a fresh clean PR.
Please hit me if yout need something from me. Sadly i dont use mautic anymore (great software by the way!!!), so i dont have a lot of time anymore.