simple_account_policy-1.0.0/config/schema/simple_account_policy.schema.yml
config/schema/simple_account_policy.schema.yml
# Schema for the configuration files of the simple_account_policy module.
simple_account_policy.settings:
type: config_object
label: 'Account policy settings'
mapping:
username_prevent_changes:
type: boolean
label: 'Prevent username changes'
username_match_email:
type: boolean
label: 'Username must match email'
username_match_patterns:
type: sequence
label: 'Username match patterns'
sequence:
type: string
label: 'Username match pattern'
username_ignore_patterns:
type: sequence
label: 'Usernames to ignore'
sequence:
type: string
label: 'Username'
delete_after_time:
type: string
label: 'The time that should have elapsed before a user is deleted.'
user_cancel_method:
type: string
label: 'The user cancel method. @see user_cancel_methods().'
email_match_patterns:
type: sequence
label: 'Email match patterns'
sequence:
type: string
label: 'Email match pattern'
inactive_interval:
type: string
label: 'The interval for checking if users are inactive.'
inactive_period:
type: string
label: 'Period after which a user will be considered inactive.'
inactive_warning:
type: string
label: 'Warning period before a user will become inactive.'
inactive_warning_mail:
type: mail
label: 'Warning mail for inactive users.'
