Draft: Resolve #3495440 "Declaration of drupalserializationnormalizeranynormalizernormalize"
Open
requested to merge issue/menu_normalizer-3495440:3495440-declaration-of-drupalserializationnormalizeranynormalizernormalize into 2.x
Closes #3495440
- Adding "supportsNormalization" method to avoid exceptions as:
Symfony\Component\Serializer\Exception\NotNormalizableValueException: Could not normalize object of type "Drupal\Core\Menu\MenuLinkTreeElement", no supporting normalizer found. in Symfony\Component\Serializer\Serializer->normalize() (line 181 of /var/www/html/vendor/symfony/serializer/Serializer.php).
- updating the signature
Merge request reports
Activity
added 2 commits
Please register or sign in to reply