Is it possible to use a service decorator, or similar mechanism, to override a method in an entity’s list builder?
For my specific use case, I want to override the
render() method of the
Drupal\webform\WebformSubmisionListBuilder class, which is the list builder for the
Drupal\webform\Entity\WebformSubmission entity. I’d prefer to not have to replace the list builder class entirely.
I did come across this post, but it doesn’t seem to provide a solution to my use case. I also didn’t fully comprehend the information in the post, so I might have missed the solution.