Closed (fixed)
Project:
Easy Email
Version:
3.0.6
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2025 at 19:26 UTC
Updated:
25 Nov 2025 at 14:44 UTC
Jump to comment: Most recent
------ --------------------------------------------------------------------------------------------
Line src/Service/EmailHandler.php
------ --------------------------------------------------------------------------------------------
513 Call to deprecated method renderPlain() of interface Drupal\Core\Render\RendererInterface:
in drupal:10.3.0 and is removed from drupal:12.0.0. Use
\Drupal\Core\Render\RendererInterface::renderInIsolation() instead.
🪪 method.deprecated
------ --------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------
Line src/Controller/EasyEmailController.php
------ -------------------------------------------------------------------------------
in drupal:10.3.0 and is removed from drupal:12.0.0. Use
\Drupal\Core\Render\RendererInterface::renderInIsolation() instead.
🪪 method.deprecated
------ ------------------------------------------------------------------------------- Handle 10.3.0+ and less than 10.3.0
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bluegeek9 commentedComment #4
bluegeek9 commentedComment #6
zengenuity commentedThe
renderInNewContext()method is left over from an earlier implementation, and I don't think it's in use any longer. I've removed it from the module instead of upgrading it to userenderInIsolation().I also switched to using
DeprecationHelperinEmailControllerIt would be great to have someone test with my changes, and then mark as RTBC.
Comment #7
bluegeek9 commentedI avoid DeprecationHelper because it requires 10.3, and the minimum is 10.1 for Easy Email
DeprecationHelper helps modules support multiple versions of core
Comment #8
zengenuity commentedOkay, I think we should change the module requirements to ^10.3.
Comment #9
zengenuity commentedAdded requirement for Drupal core ^10.3.
Comment #11
zengenuity commentedMerged and released in 3.0.7.