Skip to content
Snippets Groups Projects
Commit 3e442598 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1992894 by vijaycs85: Provide config schema to views components in user module.

parent b9dd4429
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
# Schema for the views plugins of the User module.
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'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment