Loading modules/symfony_mailer_bc/symfony_mailer_bc.module +4 −3 Changes for modules/symfony_mailer_bc/symfony_mailer_bc.module: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ */ use Drupal\Core\Form\FormStateInterface; use Drupal\symfony_mailer\Annotation\EmailBuilder; /** * Implements hook_theme(). Loading @@ -32,14 +33,14 @@ function symfony_mailer_bc_mailer_builder_info_alter(array &$email_builders) { $missing = array_diff($mail_hooks, array_keys($email_builders)); foreach ($missing as $type) { $email_builders[$type] = [ $params = [ 'id' => $type, 'label' => $module_handler->getName($type), 'sub_types' => [], 'has_entity' => FALSE, 'class' => "Drupal\symfony_mailer_bc\Plugin\EmailBuilder\LegacyEmailBuilder", 'provider' => $type, ]; $email_builders[$type] = (new EmailBuilder($params))->get(); } } Loading Loading
modules/symfony_mailer_bc/symfony_mailer_bc.module +4 −3 Changes for modules/symfony_mailer_bc/symfony_mailer_bc.module: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ */ use Drupal\Core\Form\FormStateInterface; use Drupal\symfony_mailer\Annotation\EmailBuilder; /** * Implements hook_theme(). Loading @@ -32,14 +33,14 @@ function symfony_mailer_bc_mailer_builder_info_alter(array &$email_builders) { $missing = array_diff($mail_hooks, array_keys($email_builders)); foreach ($missing as $type) { $email_builders[$type] = [ $params = [ 'id' => $type, 'label' => $module_handler->getName($type), 'sub_types' => [], 'has_entity' => FALSE, 'class' => "Drupal\symfony_mailer_bc\Plugin\EmailBuilder\LegacyEmailBuilder", 'provider' => $type, ]; $email_builders[$type] = (new EmailBuilder($params))->get(); } } Loading