Initial Drupal 11 with DDEV setup

This commit is contained in:
gluebox
2025-10-08 11:39:17 -04:00
commit 89ef74b305
25344 changed files with 2599172 additions and 0 deletions

View File

@ -0,0 +1,10 @@
langcode: en
status: true
dependencies: { }
id: personal
label: 'Personal contact form'
recipients: { }
reply: ''
weight: 0
message: 'Your message has been sent.'
redirect: ''

View File

@ -0,0 +1,5 @@
default_form: feedback
flood:
limit: 5
interval: 3600
user_default_enabled: true

View File

@ -0,0 +1,71 @@
# 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'

View File

@ -0,0 +1,5 @@
# Schema for the views plugins of the Contact module.
views.field.contact_link:
type: views.field.user_link
label: 'Link to user contact page'