forked from mccrodp/message_private
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated config for fields, form and view displays.
- Loading branch information
mccrodp
committed
Jun 22, 2016
1 parent
19f5e53
commit e7f742f
Showing
18 changed files
with
320 additions
and
21 deletions.
There are no files selected for viewing
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
37 changes: 37 additions & 0 deletions
37
config/install/core.entity_form_display.message.private_message.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,37 @@ | ||
uuid: c29de1ec-0ac1-4ba9-8b8a-39a0168e226b | ||
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: | ||
field_message_private_body: | ||
type: string_textarea | ||
weight: 0 | ||
settings: | ||
rows: 5 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_message_private_subject: | ||
type: string_textfield | ||
weight: 0 | ||
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: { } | ||
hidden: { } |
39 changes: 39 additions & 0 deletions
39
config/install/core.entity_view_display.message.private_message.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,39 @@ | ||
uuid: d1c2b0f2-5dc9-43f4-ad7c-6f48b3a3cff4 | ||
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: | ||
field_message_private_body: | ||
type: basic_string | ||
weight: 0 | ||
label: above | ||
settings: { } | ||
third_party_settings: { } | ||
field_message_private_subject: | ||
type: string | ||
weight: 0 | ||
label: inline | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
field_message_private_to_user: | ||
type: entity_reference_label | ||
weight: 0 | ||
label: inline | ||
settings: | ||
link: true | ||
third_party_settings: { } | ||
partial_0: | ||
weight: 0 | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: { } |
22 changes: 22 additions & 0 deletions
22
config/install/core.entity_view_display.message.private_message.mail_body.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,22 @@ | ||
uuid: 30904996-e2ce-4102-9299-09a7a6573bd0 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.message.mail_body | ||
- 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.mail_body | ||
targetEntityType: message | ||
bundle: private_message | ||
mode: mail_body | ||
content: | ||
partial_1: | ||
weight: 0 | ||
hidden: | ||
field_message_private_body: true | ||
field_message_private_subject: true | ||
field_message_private_to_user: true | ||
partial_0: true |
22 changes: 22 additions & 0 deletions
22
config/install/core.entity_view_display.message.private_message.mail_subject.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,22 @@ | ||
uuid: e6d9fdf0-63fb-4518-a2ff-31f9dc3079d8 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.message.mail_subject | ||
- 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.mail_subject | ||
targetEntityType: message | ||
bundle: private_message | ||
mode: mail_subject | ||
content: | ||
partial_0: | ||
weight: 0 | ||
hidden: | ||
field_message_private_body: true | ||
field_message_private_subject: true | ||
field_message_private_to_user: true | ||
partial_1: true |
21 changes: 21 additions & 0 deletions
21
config/install/field.field.message.private_message.field_message_private_body.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,21 @@ | ||
uuid: 94a69bc5-0e6f-40d9-ac64-b534facaae95 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.message.field_message_private_body | ||
- message.type.private_message | ||
_core: | ||
default_config_hash: pJ31I7cSY8uoEz0deyB78BXJdE7gjs-jnfmHFW_FpAQ | ||
id: message.private_message.field_message_private_body | ||
field_name: field_message_private_body | ||
entity_type: message | ||
bundle: private_message | ||
label: Body | ||
description: 'Enter message text.' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string_long |
23 changes: 23 additions & 0 deletions
23
config/install/field.field.message.private_message.field_message_private_subject.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,23 @@ | ||
uuid: cf292e80-c1b8-4bf8-8cb0-a7c5e6e26806 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.message.field_message_private_subject | ||
- message.type.private_message | ||
_core: | ||
default_config_hash: qbIzNtN7amEbCO0VrcDJtqc_T18qsnHpV8DakClDBrc | ||
id: message.private_message.field_message_private_subject | ||
field_name: field_message_private_subject | ||
entity_type: message | ||
bundle: private_message | ||
label: Subject | ||
description: 'Enter message subject.' | ||
required: false | ||
translatable: false | ||
default_value: | ||
- | ||
value: 'Private Message' | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
30 changes: 30 additions & 0 deletions
30
config/install/field.field.message.private_message.field_message_private_to_user.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,30 @@ | ||
uuid: 594945a2-0182-4acb-9649-28648e1c2694 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.message.field_message_private_to_user | ||
- message.type.private_message | ||
_core: | ||
default_config_hash: t64WDBnlclOIEL1--tV8MkrvOrIGJ121lW3NJa9Xpsk | ||
id: message.private_message.field_message_private_to_user | ||
field_name: field_message_private_to_user | ||
entity_type: message | ||
bundle: private_message | ||
label: 'To User' | ||
description: 'Select user accounts to receive message.' | ||
required: true | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
handler: 'default:user' | ||
handler_settings: | ||
include_anonymous: false | ||
filter: | ||
type: _none | ||
target_bundles: null | ||
sort: | ||
field: _none | ||
auto_create: false | ||
field_type: entity_reference |
24 changes: 24 additions & 0 deletions
24
config/install/field.field.user.user.field_message_private_usr_notify.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,24 @@ | ||
uuid: 4fc087c4-d646-4c4f-a467-d2234eaf5fb3 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.user.field_message_private_usr_notify | ||
module: | ||
- user | ||
id: user.user.field_message_private_usr_notify | ||
field_name: field_message_private_usr_notify | ||
entity_type: user | ||
bundle: user | ||
label: 'Message Private Notifications' | ||
description: 'Receive email notifications for new Private Messages.' | ||
required: false | ||
translatable: false | ||
default_value: | ||
- | ||
value: 1 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
21 changes: 21 additions & 0 deletions
21
config/install/field.storage.message.field_message_private_body.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,21 @@ | ||
uuid: 6bd4e142-13ee-4ec4-8947-0e489a6f7c11 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- message | ||
_core: | ||
default_config_hash: V_kmURMHj2yWYO-7UprE0_sw1J8EDHZBhNIfE0HQqF4 | ||
id: message.field_message_private_body | ||
field_name: field_message_private_body | ||
entity_type: message | ||
type: string_long | ||
settings: | ||
case_sensitive: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
23 changes: 23 additions & 0 deletions
23
config/install/field.storage.message.field_message_private_subject.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,23 @@ | ||
uuid: cf3443df-beaf-4e94-95d4-e6461577d4d6 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- message | ||
_core: | ||
default_config_hash: Dg9x90SguN-2BDkT9idSDAia9BL8rYexkKItNl7u1AQ | ||
id: message.field_message_private_subject | ||
field_name: field_message_private_subject | ||
entity_type: message | ||
type: string | ||
settings: | ||
max_length: 255 | ||
is_ascii: false | ||
case_sensitive: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
22 changes: 22 additions & 0 deletions
22
config/install/field.storage.message.field_message_private_to_user.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,22 @@ | ||
uuid: fdd970ed-47c0-4e2a-9a0a-2385ee3fba4d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- message | ||
- user | ||
_core: | ||
default_config_hash: bwE2oENG8iTdi12WvMTPoxJo9qQs_g0fe4sxM6sfVQk | ||
id: message.field_message_private_to_user | ||
field_name: field_message_private_to_user | ||
entity_type: message | ||
type: entity_reference | ||
settings: | ||
target_type: user | ||
module: core | ||
locked: false | ||
cardinality: -1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
20 changes: 20 additions & 0 deletions
20
config/install/field.storage.user.field_message_private_usr_notify.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,20 @@ | ||
uuid: 8475d5d9-a759-4aff-b802-fcfbb5260a16 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- user | ||
_core: | ||
default_config_hash: 1-4VSfI1AMKOOtKVsXTs11O1fgTNaJiUzXZMlsuCrAI | ||
id: user.field_message_private_usr_notify | ||
field_name: field_message_private_usr_notify | ||
entity_type: user | ||
type: boolean | ||
settings: { } | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
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
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
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
Oops, something went wrong.