user.views.schema.yml

Same filename in other branches
  1. 8.9.x core/modules/user/config/schema/user.views.schema.yml
  2. 10 core/modules/user/config/schema/user.views.schema.yml
  3. 11.x core/modules/user/config/schema/user.views.schema.yml
core/modules/user/config/schema/user.views.schema.yml

File

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

View source
  1. # Schema for the views plugins of the User module.
  2. views.access.perm:
  3. type: mapping
  4. label: 'Permission'
  5. mapping:
  6. perm:
  7. type: string
  8. label: 'Permission'
  9. views.access.role:
  10. type: mapping
  11. label: 'Roles'
  12. mapping:
  13. role:
  14. type: sequence
  15. label: 'List of roles'
  16. sequence:
  17. type: string
  18. label: 'Role'
  19. views.argument.user_uid:
  20. type: views.argument.numeric
  21. label: 'User ID'
  22. views.argument.user__roles_rid:
  23. type: views.argument.many_to_one
  24. label: 'Role ID'
  25. views.argument_validator.entity:user:
  26. type: views.argument_validator_entity
  27. label: 'User'
  28. mapping:
  29. restrict_roles:
  30. type: boolean
  31. label: 'Restrict user based on role'
  32. roles:
  33. type: sequence
  34. label: 'Restrict to the selected roles'
  35. sequence:
  36. type: string
  37. label: 'Role'
  38. views.argument_default.user:
  39. type: mapping
  40. label: 'User ID from URL'
  41. mapping:
  42. user:
  43. type: boolean
  44. label: 'Also look for a node and use the node author'
  45. views_field_user:
  46. type: views_field
  47. mapping:
  48. link_to_user:
  49. type: boolean
  50. label: 'Link this field to its user'
  51. views.field.user_permissions:
  52. type: views.field.prerender_list
  53. label: 'List of permission'
  54. views.field.user_roles:
  55. type: views.field.prerender_list
  56. label: 'List of roles'
  57. views.field.user:
  58. type: views_field_user
  59. label: 'User'
  60. views.field.user_bulk_form:
  61. type: views_field_bulk_form
  62. label: 'User operations bulk form'
  63. views.field.user_data:
  64. type: views_field
  65. label: 'User data field'
  66. mapping:
  67. data_module:
  68. type: string
  69. label: 'Module name'
  70. data_name:
  71. type: string
  72. label: 'Name'
  73. views.filter.user_current:
  74. type: views.filter.boolean
  75. label: 'Current user'
  76. views.filter.user_name:
  77. type: views.filter.in_operator
  78. label: 'User name'
  79. views.filter.user_permissions:
  80. type: views.filter.many_to_one
  81. label: 'Permission'
  82. views.filter.user_roles:
  83. type: views.filter.many_to_one
  84. label: 'Role'
  85. views.filter_value.user_current:
  86. type: views.filter_value.boolean
  87. label: 'Current user'

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