- πΈπ°Slovakia poker10
The patch no longer applies to latest 2.1.x-dev. Please create a MR when updating the patch.
Also this change should be in a separate issue, as it is not related and it is a bug:
diff --git a/emaillog/emaillog.module b/emaillog/emaillog.module index 9a36f3a..526c116 100644 --- a/emaillog/emaillog.module +++ b/emaillog/emaillog.module @@ -137,6 +137,7 @@ function template_preprocess_emaillog(&$variables) { + $variables['log']['type'] = $variables['log']['variables']['channel'];
The same applies for this unrelated change:
diff --git a/emaillog/src/Form/EmaillogConfigForm.php b/emaillog/src/Form/EmaillogConfigForm.php index 6734a43..b4b61c9 100644 --- a/emaillog/src/Form/EmaillogConfigForm.php +++ b/emaillog/src/Form/EmaillogConfigForm.php @@ -136,7 +136,7 @@ class EmaillogConfigForm extends ConfigFormBase { - '#value' => 'Save Configuration', + '#value' => $this->t('Save Configuration'),
Thanks!
- πΈπ°Slovakia poker10
Re: for the two unrelated changes, I have already created issues and fixed them (credited @bjaxelsen):
π template_preprocess_emaillog is missing type Active
π Fix translation of strings in EmaillogConfigForm ActiveAnother thing, which should be considered here is, if we should remove the existing hook - that does not seems ideal from the BC point of view.