Problem/Motivation

Sites should not be forced to enable the language module in order to use this module.

Proposed resolution

Use a submodule and alter hooks in order to move the language negotiation out of the SendMailQueueWorker class.

Remaining tasks

Agree
Test
Code

Comments

acbramley created an issue. See original summary.

sam152’s picture

Just ran into this, agree, the dependency is quite weird.

plach’s picture

Assigned: Unassigned » plach

Working on this

plach’s picture

Assigned: plach » Unassigned
Status: Active » Needs review
StatusFileSize
new14.22 KB

This should be pretty much complete.

plach’s picture

Category: Feature request » Task
Priority: Normal » Major
Issue tags: +stable release blocker

This was identified as the last (?) stable release blocker, so changing metadata accordingly.

plach’s picture

Issue tags: -stable release blocker +D8 stable release blocker
catch’s picture

Looks sensible, one nit:

+++ b/modules/queue_mail_language/src/Plugin/QueueWorker/LanguageAwareSendMailQueueWorker.php
@@ -0,0 +1,105 @@
+ * Sends emails form queue with language support.

Should this be 'emails form queue'? Maybe 'from'?

plach’s picture

StatusFileSize
new14.22 KB

Definitely "from" :)

plach’s picture

StatusFileSize
new743 bytes

(forgot the interdiff)

catch’s picture

Status: Needs review » Reviewed & tested by the community

Looks great!

  • sinn committed 08cd148 on 8.x-1.x
    Issue #2897414: Move language negotiation into sub module. Fixed CS...
  • sinn committed ee75171 on 8.x-1.x authored by plach
    Issue #2897414 by plach: Move language negotiation into sub module
    

  • sinn committed a79f183 on 8.x-1.x
    Issue #2897414: Move language negotiation into sub module. Fixed typo.
    
sinn’s picture

Status: Reviewed & tested by the community » Fixed

Great job! Thanks for your help.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.