forked from Drupalcat/drupalcat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task Drupalcat#47 Add permission for the contact form and hide langua…
…ge select
- Loading branch information
1 parent
1a8fde6
commit 55dc79c
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
drupalcat/config/install/core.entity_form_display.contact_message.feedback.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
langcode: ca | ||
status: true | ||
dependencies: | ||
config: | ||
- contact.form.feedback | ||
id: contact_message.feedback.default | ||
targetEntityType: contact_message | ||
bundle: feedback | ||
mode: default | ||
content: | ||
name: | ||
weight: 0 | ||
settings: { } | ||
third_party_settings: { } | ||
mail: | ||
weight: 1 | ||
settings: { } | ||
third_party_settings: { } | ||
subject: | ||
type: string_textfield | ||
weight: 2 | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
message: | ||
type: string_textarea | ||
weight: 3 | ||
settings: | ||
rows: 12 | ||
placeholder: '' | ||
third_party_settings: { } | ||
copy: | ||
weight: 4 | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
langcode: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: anonymous | ||
label: 'Anonymous user' | ||
weight: 0 | ||
is_admin: false | ||
permissions: | ||
- 'use text format plain_text' | ||
- 'access content' | ||
- 'access site-wide contact form' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: authenticated | ||
label: 'Authenticated user' | ||
weight: 1 | ||
is_admin: false | ||
permissions: | ||
- 'use text format plain_text' | ||
- 'access content' | ||
- 'access site-wide contact form' |