Minor bug fixed on the Drupal contrib module Force render theme.
What is this module used for?
This module, supported by IOSAN, allows you to force the use of the front-end theme to render entities.
In Drupal, when you perform an action from the back office, the back-office theme is automatically applied.
For example, when generating a PDF from the back office, it forces the use of the front-end theme, whereas by default the admin theme would have been used.
The module: Force render theme
Fixed issue:
The module was generating a warning related to the rendering API in EntityViewController. After the fix, it is now fully compatible with Drupal 11 API.
The issue: #3582841