- Issue created by @Mirjam Dissel
I quickly wrote a fix. We may also want to check if the parent object has a language() method, but for now I think we can expect it to.
In the method asymmetric_translations_paragraph_presave() (see asymmetric_translations.module) we keep checking for the paragraph parent until we find a node instance.
However when using config pages in combination with paragraphs we run into a problem:
The method 'getParentEntity' is not available in the config page entity, but we call it anyway.
- Create a config page with a paragraph
- Add a paragraph
- Save the page
- Get error message
- Improve the check on the entity type
Active
1.0
Code
I quickly wrote a fix. We may also want to check if the parent object has a language() method, but for now I think we can expect it to.