
| Current Path : /var/www/html/rocksensor1/web/core/modules/contact/config/schema/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor1/web/core/modules/contact/config/schema/contact.schema.yml |
# Schema for the configuration files of the Contact module.
contact.form.*:
type: config_entity
label: 'Contact form'
mapping:
id:
type: machine_name
label: 'ID'
constraints:
Length:
# Contact form IDs are specifically limited to 32 characters.
# @see \Drupal\contact\ContactFormEditForm::form()
max: 32
label:
type: required_label
label: 'Label'
recipients:
type: sequence
label: 'Recipients'
sequence:
type: email
label: 'Email address'
reply:
type: text
label: 'Auto-reply'
weight:
type: weight
label: 'Weight'
message:
type: text
label: 'Message displayed to user on submission'
redirect:
type: path
label: 'Redirect path on submission'
contact.settings:
type: config_object
label: 'Contact settings'
constraints:
FullyValidatable: ~
mapping:
default_form:
type: string
label: 'Default form identifier'
# It is possible to not configure a default form.
# @see \Drupal\contact\ContactFormEditForm::save()
nullable: true
constraints:
ConfigExists:
prefix: contact.form.
flood:
# @see \Drupal\Core\Flood\FloodInterface::isAllowed()
type: mapping
label: 'Flood control'
mapping:
limit:
type: integer
label: 'Limit (messages per interval)'
constraints:
Range:
min: 1
interval:
type: integer
label: 'Interval (seconds)'
constraints:
Range:
min: 1
user_default_enabled:
type: boolean
label: 'Personal contact form enabled by default'