Skip to content

Commit

Permalink
Task Drupalcat#47 Add permission for the contact form and hide langua…
Browse files Browse the repository at this point in the history
…ge select
  • Loading branch information
rodrigoaguilera committed Mar 28, 2015
1 parent 1a8fde6 commit 55dc79c
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
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
11 changes: 11 additions & 0 deletions drupalcat/config/install/user.role.anonymous.yml
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'
11 changes: 11 additions & 0 deletions drupalcat/config/install/user.role.authenticated.yml
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'

0 comments on commit 55dc79c

Please sign in to comment.