Initial Drupal 11 with DDEV setup

This commit is contained in:
gluebox
2025-10-08 11:39:17 -04:00
commit 89ef74b305
25344 changed files with 2599172 additions and 0 deletions

View File

@ -0,0 +1,229 @@
# Schema for the configuration files of the User module.
user.settings:
type: config_object
label: 'User settings'
constraints:
FullyValidatable: ~
mapping:
anonymous:
type: required_label
label: 'Name'
verify_mail:
type: boolean
label: 'Require email verification when a visitor creates an account'
notify:
type: mapping
label: 'Notify user'
mapping:
cancel_confirm:
type: boolean
label: 'Account cancellation confirmation'
password_reset:
type: boolean
label: 'Notify user when password reset'
status_activated:
type: boolean
label: 'Notify user when account is activated'
status_blocked:
type: boolean
label: 'Account blocked'
status_canceled:
type: boolean
label: 'Account canceled'
register_admin_created:
type: boolean
label: 'Welcome (new user created by administrator)'
register_no_approval_required:
type: boolean
label: 'Welcome (no approval required)'
register_pending_approval:
type: boolean
label: 'Welcome (awaiting approval)'
register:
type: string
label: 'Who can register accounts?'
# Choices are derived from the constants.
# @see \Drupal\user\UserInterface::REGISTER_*
# @todo Convert to use Enum in https://www.drupal.org/project/drupal/issues/3450782
constraints:
Choice:
choices:
- 'visitors'
- 'admin_only'
- 'visitors_admin_approval'
cancel_method:
type: string
label: 'When cancelling a user account'
constraints:
UserCancelMethod: []
password_reset_timeout:
type: integer
label: 'Password reset timeout'
# @todo Increase min in https://www.drupal.org/i/3441772
constraints:
Range:
min: 1
password_strength:
type: boolean
label: 'Enable password strength indicator'
user.mail:
type: config_object
label: 'Email settings'
constraints:
FullyValidatable: ~
mapping:
cancel_confirm:
type: mail
label: 'Account cancellation confirmation'
password_reset:
type: mail
label: 'Password recovery'
register_admin_created:
type: mail
label: 'Account created by administrator'
register_no_approval_required:
type: mail
label: 'Registration confirmation (No approval required)'
register_pending_approval:
type: mail
label: 'Registration confirmation (Pending approval)'
register_pending_approval_admin:
type: mail
label: 'Admin (user awaiting approval)'
status_activated:
type: mail
label: 'Account activation'
status_blocked:
type: mail
label: 'Account blocked'
status_canceled:
type: mail
label: 'Account cancelled'
user.flood:
type: config_object
label: 'User flood settings'
mapping:
uid_only:
type: boolean
label: 'UID only identifier'
ip_limit:
type: integer
label: 'IP limit'
ip_window:
type: integer
label: 'IP window'
user_limit:
type: integer
label: 'User limit'
user_window:
type: integer
label: 'User window'
user.role.*:
type: config_entity
label: 'User role settings'
constraints:
FullyValidatable: ~
mapping:
id:
type: machine_name
label: 'ID'
label:
type: required_label
label: 'Label'
weight:
type: weight
label: 'User role weight'
is_admin:
type: boolean
label: 'User is admin'
permissions:
type: sequence
label: 'Permissions'
orderby: value
sequence:
type: string
label: 'Permission'
constraints:
Callback:
callback: [\Drupal\user\Entity\Role, getAllValidPermissions]
action.configuration.user_add_role_action:
type: mapping
label: 'Configuration for the add role action'
constraints:
FullyValidatable: ~
mapping:
rid:
type: string
label: 'The ID of the role to add'
constraints:
RoleExists: ~
action.configuration.user_block_user_action:
type: action_configuration_default
label: 'Block the selected users configuration'
action.configuration.user_cancel_user_action:
type: action_configuration_default
label: 'Cancel the selected user accounts configuration'
action.configuration.user_remove_role_action:
type: mapping
label: 'Configuration for the remove role action'
constraints:
FullyValidatable: ~
mapping:
rid:
type: string
label: 'The ID of the role to remove'
constraints:
RoleExists: ~
action.configuration.user_unblock_user_action:
type: action_configuration_default
label: 'Unblock the selected users configuration'
search.plugin.user_search:
type: sequence
label: 'User search'
condition.plugin.user_role:
type: condition.plugin
mapping:
roles:
type: sequence
sequence:
type: string
# Schema for the entity reference 'default:user' selection handler settings.
entity_reference_selection.default:user:
type: entity_reference_selection.default
label: 'User selection handler settings'
mapping:
filter:
type: mapping
label: 'Filter settings'
mapping:
type:
type: string
label: 'Filter by'
role:
type: sequence
label: 'Restrict to the selected roles'
sequence:
type: string
label: 'Role'
include_anonymous:
type: boolean
label: 'Include the anonymous user in the matched entities.'
field.formatter.settings.user_name:
type: mapping
mapping:
link_to_entity:
type: boolean
label: 'Link to the user'

View File

@ -0,0 +1,104 @@
# Schema for the views plugins of the User module.
views.access.perm:
type: mapping
label: 'Permission'
mapping:
perm:
type: string
label: 'Permission'
views.access.role:
type: mapping
label: 'Roles'
mapping:
role:
type: sequence
label: 'List of roles'
sequence:
type: string
label: 'Role'
views.argument.user_uid:
type: views.argument.numeric
label: 'User ID'
views.argument.user__roles_rid:
type: views.argument.many_to_one
label: 'Role ID'
views.argument_validator.entity:user:
type: views.argument_validator_entity
label: 'User'
mapping:
restrict_roles:
type: boolean
label: 'Restrict user based on role'
roles:
type: sequence
label: 'Restrict to the selected roles'
sequence:
type: string
label: 'Role'
views.argument_default.user:
type: mapping
label: 'User ID from URL'
mapping:
user:
type: boolean
label: 'Also look for a node and use the node author'
views_field_user:
type: views_field
mapping:
link_to_user:
type: boolean
label: 'Link this field to its user'
views.field.user_permissions:
type: views.field.prerender_list
label: 'List of permission'
views.field.user_roles:
type: views.field.prerender_list
label: 'List of roles'
views.field.user:
type: views_field_user
label: 'User'
views.field.user_bulk_form:
type: views_field_bulk_form
label: 'User operations bulk form'
views.field.user_data:
type: views_field
label: 'User data field'
mapping:
data_module:
type: string
label: 'Module name'
data_name:
type: string
label: 'Name'
views.filter.user_current:
type: views.filter.boolean
label: 'Current user'
views.filter.user_name:
type: views.filter.in_operator
label: 'User name'
views.filter.user_permissions:
type: views.filter.many_to_one
label: 'Permission'
views.filter.user_roles:
type: views.filter.many_to_one
label: 'Role'
views.filter_value.user_current:
type: views.filter_value.boolean
label: 'Current user'