Problem/Motivation
Comment form needs to override destination when comment form submitted on comment field attached to block content entity
After submission visitor should stay on the same page
Steps to reproduce
If a comment-form is attached to a block, the redirect after submission is wrong - it points to the page "block/[block-id]/2#comment-x - instead of the current page.
Proposed resolution
add protected method to return commented entity (to which comment is attached to)
Remaining tasks
fix patch, add test, commit
User interface changes
submission a comment form attached to block content entities keeps you on the same page (current URL)
API changes
TBD
Data model changes
no
Release notes snippet
no