Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
id: personal
|
||||
label: 'Personal contact form'
|
||||
recipients: { }
|
||||
reply: ''
|
||||
weight: 0
|
||||
status: true
|
||||
langcode: en
|
5
core/modules/contact/config/install/contact.settings.yml
Normal file
5
core/modules/contact/config/install/contact.settings.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
default_form: feedback
|
||||
flood:
|
||||
limit: 5
|
||||
interval: 3600
|
||||
user_default_enabled: true
|
45
core/modules/contact/config/schema/contact.schema.yml
Normal file
45
core/modules/contact/config/schema/contact.schema.yml
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Schema for the configuration files of the Contact module.
|
||||
|
||||
contact.form.*:
|
||||
type: config_entity
|
||||
label: 'Contact form'
|
||||
mapping:
|
||||
id:
|
||||
type: string
|
||||
label: 'ID'
|
||||
label:
|
||||
type: label
|
||||
label: 'Label'
|
||||
recipients:
|
||||
type: sequence
|
||||
label: 'Recipients'
|
||||
sequence:
|
||||
type: email
|
||||
label: 'Email address'
|
||||
reply:
|
||||
type: text
|
||||
label: 'Auto-reply'
|
||||
weight:
|
||||
type: integer
|
||||
label: 'Weight'
|
||||
|
||||
contact.settings:
|
||||
type: config_object
|
||||
label: 'Contact settings'
|
||||
mapping:
|
||||
default_form:
|
||||
type: string
|
||||
label: 'Default form identifier'
|
||||
flood:
|
||||
type: mapping
|
||||
label: 'Flood control'
|
||||
mapping:
|
||||
limit:
|
||||
type: integer
|
||||
label: 'Limit'
|
||||
interval:
|
||||
type: integer
|
||||
label: 'Interval'
|
||||
user_default_enabled:
|
||||
type: boolean
|
||||
label: 'Personal contact form enabled by default'
|
|
@ -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'
|
Reference in a new issue