user.schema.yml

drupal/core/modules/user/config/schema/user.schema.yml

File

drupal/core/modules/user/config/schema/user.schema.yml
View source
  1. # Schema for the configuration files of the User module.
  2. user.settings:
  3. type: mapping
  4. label: 'User settings'
  5. mapping:
  6. admin_role:
  7. type: string
  8. label: 'Administrator role'
  9. anonymous:
  10. type: label
  11. label: 'Name'
  12. verify_mail:
  13. type: boolean
  14. label: 'Require e-mail verification when a visitor creates an account.'
  15. notify:
  16. type: mapping
  17. label: 'Notify user'
  18. mapping:
  19. cancel_confirm:
  20. type: boolean
  21. label: 'Account cancellation confirmation'
  22. password_reset:
  23. type: boolean
  24. label: 'Notify user when password reset'
  25. status_activated:
  26. type: boolean
  27. label: 'Notify user when account is activated.'
  28. status_blocked:
  29. type: boolean
  30. label: 'Account blocked'
  31. status_cancelled:
  32. type: boolean
  33. label: 'Account canceled'
  34. register_admin_created:
  35. type: boolean
  36. label: 'Welcome (new user created by administrator)'
  37. register_no_approval_required:
  38. type: boolean
  39. label: 'Welcome (no approval required)'
  40. register_pending_approval:
  41. type: boolean
  42. label: 'Welcome (awaiting approval)'
  43. register:
  44. type: string
  45. label: 'Who can register accounts?'
  46. signatures:
  47. type: boolean
  48. label: 'Enable signatures.'
  49. cancel_method:
  50. type: string
  51. label: 'When cancelling a user account'
  52. password_reset_timeout:
  53. type: integer
  54. label: 'Password reset timeout'
  55. password_strength:
  56. type: boolean
  57. label: 'Enable password strength indicator'
  58. langcode:
  59. type: string
  60. label: 'Default language'
  61. user.mail:
  62. type: mapping
  63. label: 'E-mail settings'
  64. mapping:
  65. cancel_confirm:
  66. type: mail
  67. label: 'Account cancellation confirmation'
  68. password_reset:
  69. type: mail
  70. label: 'Password recovery'
  71. register_admin_created:
  72. type: mail
  73. label: 'Account created by administrator'
  74. register_no_approval_required:
  75. type: mail
  76. label: 'Registration confirmation (No approval required)'
  77. register_pending_approval:
  78. type: mail
  79. label: 'Registration confirmation (Pending approval)'
  80. register_pending_approval_admin:
  81. type: mail
  82. label: 'Admin (user awaiting approval)'
  83. status_activated:
  84. type: mail
  85. label: 'Account activation'
  86. status_blocked:
  87. type: mail
  88. label: 'Account blocked'
  89. status_canceled:
  90. type: mail
  91. label: 'Account cancelled'
  92. langcode:
  93. type: string
  94. label: 'Default language'
  95. user.flood:
  96. type: mapping
  97. label: 'User flood settings'
  98. mapping:
  99. uid_only:
  100. type: boolean
  101. label: 'UID only identifier'
  102. ip_limit:
  103. type: integer
  104. label: 'IP limit'
  105. ip_window:
  106. type: integer
  107. label: 'IP window'
  108. user_limit:
  109. type: integer
  110. label: 'User limit'
  111. user_window:
  112. type: integer
  113. label: 'User window'
  114. user.role.*:
  115. type: mapping
  116. label: 'User role settings'
  117. mapping:
  118. id:
  119. type: string
  120. label: 'User role ID'
  121. uuid:
  122. type: string
  123. label: 'UUID'
  124. label:
  125. type: label
  126. label: 'User role label'
  127. weight:
  128. type: integer
  129. label: 'User role weight'
  130. langcode:
  131. type: string
  132. label: 'Default language'