Skip to content

Commit

Permalink
Updated views, local tasks, form and message display config
Browse files Browse the repository at this point in the history
  • Loading branch information
mccrodp committed Jul 14, 2016
1 parent 399ee74 commit 8cf400c
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 115 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ dependencies:
- field.field.message.private_message.field_message_private_subject
- field.field.message.private_message.field_message_private_to_user
- message.type.private_message
_core:
default_config_hash: 0IDVLOZjSksUi025JzU3KA6363ZSA3OK8jTdtFtK_x8
id: message.private_message.default
targetEntityType: message
bundle: private_message
Expand All @@ -19,14 +21,14 @@ content:
third_party_settings: { }
field_message_private_body:
type: string_textarea
weight: 2
weight: 0
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_message_private_subject:
type: string_textfield
weight: 1
weight: 0
settings:
size: 60
placeholder: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ dependencies:
- message.type.private_message
module:
- user
_core:
default_config_hash: lpvYrgS_H2-h-ZgjM4cMoH-_ogf4CCDFbNZbUiG7zyg
id: message.private_message.default
targetEntityType: message
bundle: private_message
Expand All @@ -28,10 +30,12 @@ content:
link_to_entity: false
third_party_settings: { }
field_message_private_to_user:
type: author
type: entity_reference_entity_view
weight: 1
label: inline
settings: { }
settings:
view_mode: default
link: false
third_party_settings: { }
partial_0:
weight: 0
Expand Down
150 changes: 40 additions & 110 deletions config/optional/views.view.message_private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ dependencies:
module:
- message
- message_private
- system
_core:
default_config_hash: HTL-e5msxtY6C0dAaEixk4g8BGo2CQC7w-5dFQbzHh4
default_config_hash: 4gJ9ljaCqVU6GARQwzXb0cY0PTtJFMySLFDM0WvF-sU
id: message_private
label: 'Message Private'
module: views
Expand Down Expand Up @@ -123,60 +122,6 @@ display:
row:
type: fields
fields:
message_bulk_form_1:
id: message_bulk_form_1
table: message
field: message_bulk_form
relationship: none
group_type: group
admin_label: ''
label: 'Message operations bulk form'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
action_title: 'With selection'
include_exclude: include
selected_actions:
- messaege_delete_action
entity_type: message
plugin_id: message_bulk_form
field_message_private_subject:
id: field_message_private_subject
table: message__field_message_private_subject
Expand Down Expand Up @@ -593,60 +538,6 @@ display:
description: ''
weight: 0
fields:
message_bulk_form_1:
id: message_bulk_form_1
table: message
field: message_bulk_form
relationship: none
group_type: group
admin_label: ''
label: 'Message operations bulk form'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
action_title: 'With selection'
include_exclude: include
selected_actions:
- messaege_delete_action
entity_type: message
plugin_id: message_bulk_form
field_message_private_to_user:
id: field_message_private_to_user
table: message__field_message_private_to_user
Expand Down Expand Up @@ -879,6 +770,45 @@ display:
plugin_id: date
defaults:
fields: false
arguments: false
arguments:
uid:
id: uid
table: message_field_data
field: uid
relationship: none
group_type: group
admin_label: ''
default_action: empty
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
entity_type: message
entity_field: uid
plugin_id: numeric
cache_metadata:
max-age: 0
contexts:
Expand Down
2 changes: 1 addition & 1 deletion message_private.links.task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ message_private.messages:
route_name: message_private.messages
base_route: entity.user.canonical
title: 'Messages'
weight: 10

message_private.messages.inbox:
route_name: message_private.messages.inbox
Expand All @@ -17,4 +18,3 @@ message_private.messages.sent:
# Provide dynamic local tasks.
message_private.messages:
deriver: 'Drupal\message_private\Plugin\Derivative\DynamicLocalTasks'
weight: -10

0 comments on commit 8cf400c

Please sign in to comment.