Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
194
core/modules/user/config/schema/user.schema.yml
Normal file
194
core/modules/user/config/schema/user.schema.yml
Normal file
|
@ -0,0 +1,194 @@
|
|||
# Schema for the configuration files of the User module.
|
||||
|
||||
user.settings:
|
||||
type: config_object
|
||||
label: 'User settings'
|
||||
mapping:
|
||||
anonymous:
|
||||
type: 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?'
|
||||
cancel_method:
|
||||
type: string
|
||||
label: 'When cancelling a user account'
|
||||
password_reset_timeout:
|
||||
type: integer
|
||||
label: 'Password reset timeout'
|
||||
password_strength:
|
||||
type: boolean
|
||||
label: 'Enable password strength indicator'
|
||||
|
||||
user.mail:
|
||||
type: config_object
|
||||
label: 'Email settings'
|
||||
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'
|
||||
mapping:
|
||||
id:
|
||||
type: string
|
||||
label: 'ID'
|
||||
label:
|
||||
type: label
|
||||
label: 'Label'
|
||||
weight:
|
||||
type: integer
|
||||
label: 'User role weight'
|
||||
is_admin:
|
||||
type: boolean
|
||||
label: 'User is admin'
|
||||
permissions:
|
||||
type: sequence
|
||||
label: 'Permissions'
|
||||
sequence:
|
||||
type: string
|
||||
label: 'Permission'
|
||||
|
||||
action.configuration.user_add_role_action:
|
||||
type: mapping
|
||||
label: 'Configuration for the add role action'
|
||||
mapping:
|
||||
rid:
|
||||
type: string
|
||||
label: 'The ID of the role to add'
|
||||
|
||||
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'
|
||||
mapping:
|
||||
rid:
|
||||
type: string
|
||||
label: 'The ID of the role to remove'
|
||||
|
||||
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
|
||||
|
||||
entity_reference_selection.default:user:
|
||||
type: entity_reference_selection
|
||||
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'
|
111
core/modules/user/config/schema/user.views.schema.yml
Normal file
111
core/modules/user/config/schema/user.views.schema.yml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# 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.user:
|
||||
type: mapping
|
||||
label: 'User'
|
||||
mapping:
|
||||
type:
|
||||
type: string
|
||||
label: 'Type of user filter value to allow'
|
||||
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.argument_default.current_user:
|
||||
type: boolean
|
||||
label: 'User ID from logged in user'
|
||||
|
||||
views.argument_default.node:
|
||||
type: boolean
|
||||
label: 'Content ID from URL'
|
||||
|
||||
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'
|
Reference in a new issue