- @adamps opened merge request.
-
adamps β
committed 0d991b4b on 2.x
Issue #3303340 by adamps: Add support for required config
-
adamps β
committed 0d991b4b on 2.x
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
20 days ago 6:08pm 15 August 2025 - πΊπΈUnited States drupgirl
Great feature. I need some help getting it to work.
Core 10.5
DSM+ 2.x-devWhen I enable symfony_mailer, mailer_policy & mailer_override and go to mailer policy page this warning appears:
Warning: Undefined array key "required_config" in Drupal\mailer_policy\Form\PolicyEditForm->form() (line 40 of modules/contrib/symfony_mailer/modules/mailer_policy/src/Form/PolicyEditForm.php).
Drupal\mailer_policy\Form\PolicyEditForm->form() (Line: 107)If I delete the *All* default policy and try to add one then this error appears:
TypeError: array_diff(): Argument #1 ($array) must be of type array, null given in array_diff() (line 40 of modules/contrib/symfony_mailer/modules/mailer_policy/src/Form/PolicyEditForm.php).
Drupal\mailer_policy\Form\PolicyEditForm->form(Array, Object) (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)