Skip to content

Commit

Permalink
Restructed and added optional config.
Browse files Browse the repository at this point in the history
  • Loading branch information
mccrodp committed Jun 26, 2016
1 parent 48c3ae3 commit 0518150
Show file tree
Hide file tree
Showing 9 changed files with 239 additions and 108 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ INSTALLATION

CONFIGURATION
-------------
Show message form fields at: admin/structure/message/manage/private_message/form-display
Show message display fields at: admin/structure/message/manage/private_message/display
Show user form fields: /admin/config/people/accounts/form-display
This will be addressed automatically later.
Show notification boolean on user form fields: /admin/config/people/accounts/form-display
This will be addressed automatically in a hook later.


HOW TO USE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
uuid: 1ea8d842-7162-47da-b9a2-d526cd5ac3f0
langcode: en
status: true
dependencies:
config:
- field.field.message.private_message.field_message_private_body
- field.field.message.private_message.field_message_private_subject
- field.field.message.private_message.field_message_private_to_user
- message.type.private_message
id: message.private_message.default
targetEntityType: message
bundle: private_message
mode: default
content:
created:
type: datetime_timestamp
weight: 4
settings: { }
third_party_settings: { }
field_message_private_body:
type: string_textarea
weight: 2
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_message_private_subject:
type: string_textfield
weight: 1
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_message_private_to_user:
type: entity_reference_autocomplete
weight: 0
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 3
'#group': advanced
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
uuid: e0c1c213-6883-4630-8587-6eabe7d107b1
langcode: en
status: true
dependencies:
config:
- field.field.message.private_message.field_message_private_body
- field.field.message.private_message.field_message_private_subject
- field.field.message.private_message.field_message_private_to_user
- message.type.private_message
module:
- user
id: message.private_message.default
targetEntityType: message
bundle: private_message
mode: default
content:
field_message_private_body:
type: basic_string
weight: 3
label: above
settings: { }
third_party_settings: { }
field_message_private_subject:
type: string
weight: 2
label: inline
settings:
link_to_entity: false
third_party_settings: { }
field_message_private_to_user:
type: author
weight: 1
label: inline
settings: { }
third_party_settings: { }
partial_0:
weight: 0
settings: { }
third_party_settings: { }
hidden: { }
Loading

0 comments on commit 0518150

Please sign in to comment.