Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
symfony_mailer
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
symfony_mailer
Commits
0d0f1f20
Commit
0d0f1f20
authored
3 years ago
by
Adam Shepherd
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3255835
by AdamPS, merlin06, axle_foley00: Send Test Email (correction)
parent
c33a67ec
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Form/TestEmailForm.php
+7
-7
7 additions, 7 deletions
src/Form/TestEmailForm.php
symfony_mailer.routing.yml
+1
-1
1 addition, 1 deletion
symfony_mailer.routing.yml
with
8 additions
and
8 deletions
src/Form/TestForm.php
→
src/Form/Test
Email
Form.php
+
7
−
7
View file @
0d0f1f20
...
...
@@ -4,21 +4,21 @@ namespace Drupal\symfony_mailer\Form;
use
Drupal\Core\Form\FormBase
;
use
Drupal\Core\Form\FormStateInterface
;
use
Drupal\symfony_mailer
\EmailFactory
;
use
Drupal\symfony_mailer
\EmailFactory
Interface
;
use
Drupal\symfony_mailer
\MailerHelperInterface
;
use
Symfony\Component\DependencyInjection\ContainerInterface
;
/**
* Symfony Mailer test form.
* Symfony Mailer test
email
form.
*/
class
TestForm
extends
FormBase
{
class
Test
Email
Form
extends
FormBase
{
/**
* The email factory service.
*
* @var \Drupal\symfony_mailer\EmailFactory
* @var \Drupal\symfony_mailer\EmailFactory
Interface
*/
protected
EmailFactory
$emailFactory
;
protected
$emailFactory
;
/**
* The mailer helper.
...
...
@@ -30,12 +30,12 @@ class TestForm extends FormBase {
/**
* Constructs a new TestForm.
*
* @param \Drupal\symfony_mailer\EmailFactory $email_factory
* @param \Drupal\symfony_mailer\EmailFactory
Interface
$email_factory
* The email factory service.
* @param \Drupal\symfony_mailer\MailerHelperInterface $helper
* The mailer helper.
*/
public
function
__construct
(
EmailFactory
$email_factory
,
MailerHelperInterface
$helper
)
{
public
function
__construct
(
EmailFactory
Interface
$email_factory
,
MailerHelperInterface
$helper
)
{
$this
->
emailFactory
=
$email_factory
;
$this
->
helper
=
$helper
;
}
...
...
This diff is collapsed.
Click to expand it.
symfony_mailer.routing.yml
+
1
−
1
View file @
0d0f1f20
...
...
@@ -111,7 +111,7 @@ symfony_mailer.import.skip:
symfony_mailer.test
:
path
:
'
/admin/config/system/mailer/test'
defaults
:
_form
:
'
\Drupal\symfony_mailer\Form\TestForm'
_form
:
'
\Drupal\symfony_mailer\Form\Test
Email
Form'
_title
:
'
Mailer
test'
requirements
:
_permission
:
'
administer
mailer'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment