user.mail.yml

Same filename and directory in other branches
  1. 9 core/modules/user/config/install/user.mail.yml
  2. 10 core/modules/user/config/install/user.mail.yml
  3. 11.x core/modules/user/config/install/user.mail.yml
core/modules/user/config/install/user.mail.yml
9 string references to 'user.mail'
AccountSettingsForm::buildForm in core/modules/user/src/AccountSettingsForm.php
Form constructor.
AccountSettingsForm::getEditableConfigNames in core/modules/user/src/AccountSettingsForm.php
Gets the configuration names that will be editable.
MigrateUserConfigsTest::testUserMail in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php
Tests migration of user variables to user.mail.yml.
MigrateUserConfigsTranslationTest::testUserConfig in core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateUserConfigsTranslationTest.php
Tests migration of i18n user variables to user.mail and user.settings.
MigrateUserConfigsTranslationTest::testUserMail in core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php
Tests migration of i18n user variables to user.mail.yml.

... See full list

File

core/modules/user/config/install/user.mail.yml

View source
  1. cancel_confirm:
  2. body: "[user:display-name],\n\nA request to cancel your account has been made at [site:name].\n\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\n\n[user:cancel-url]\n\nNOTE: The cancellation of your account is not reversible.\n\nThis link expires in one day and nothing will happen if it is not used.\n\n-- [site:name] team"
  3. subject: 'Account cancellation request for [user:display-name] at [site:name]'
  4. password_reset:
  5. body: "[user:display-name],\n\nA request to reset the password for your account has been made at [site:name].\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.\n\n-- [site:name] team"
  6. subject: 'Replacement login information for [user:display-name] at [site:name]'
  7. register_admin_created:
  8. body: "[user:display-name],\n\nA site administrator at [site:name] has created an account for you. You may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n-- [site:name] team"
  9. subject: 'An administrator created an account for you at [site:name]'
  10. register_no_approval_required:
  11. body: "[user:display-name],\n\nThank you for registering at [site:name]. You may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:name]\npassword: Your password\n\n-- [site:name] team"
  12. subject: 'Account details for [user:display-name] at [site:name]'
  13. register_pending_approval:
  14. body: "[user:display-name],\n\nThank you for registering at [site:name]. Your application for an account is currently pending approval. Once it has been approved, you will receive another email containing information about how to log in, set your password, and other details.\n\n-- [site:name] team"
  15. subject: 'Account details for [user:display-name] at [site:name] (pending admin approval)'
  16. register_pending_approval_admin:
  17. body: "[user:display-name] has applied for an account.\n\n[user:edit-url]"
  18. subject: 'Account details for [user:display-name] at [site:name] (pending admin approval)'
  19. status_activated:
  20. body: "[user:display-name],\n\nYour account at [site:name] has been activated.\n\nYou may now log in by clicking this link or copying and pasting it into your browser:\n\n[user:one-time-login-url]\n\nThis link can only be used once to log in and will lead you to a page where you can set your password.\n\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\n\nusername: [user:account-name]\npassword: Your password\n\n-- [site:name] team"
  21. subject: 'Account details for [user:display-name] at [site:name] (approved)'
  22. status_blocked:
  23. body: "[user:display-name],\n\nYour account on [site:name] has been blocked.\n\n-- [site:name] team"
  24. subject: 'Account details for [user:display-name] at [site:name] (blocked)'
  25. status_canceled:
  26. body: "[user:display-name],\n\nYour account on [site:name] has been canceled.\n\n-- [site:name] team"
  27. subject: 'Account details for [user:display-name] at [site:name] (canceled)'
  28. langcode: en

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.