Commit 3e442598 authored by webchick's avatar webchick
Browse files

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

parent b9dd4429
# 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'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment