Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_ct_contact
Commits
71a1fc21
Commit
71a1fc21
authored
Aug 11, 2021
by
Chris Shantz
Browse files
Merge branch '1.0.x' into prod/1.0.x
parents
71380d24
49ec9af6
Changes
3
Hide whitespace changes
Inline
Side-by-side
config/install/core.entity_view_display.node.uw_ct_contact.default.yml
View file @
71a1fc21
...
...
@@ -30,6 +30,7 @@ dependencies:
-
options
-
text
-
user
-
uw_cfg_common
third_party_settings
:
layout_builder
:
allow_custom
:
true
...
...
config/install/views.view.uw_view_contacts.yml
View file @
71a1fc21
...
...
@@ -320,18 +320,6 @@ display:
entity_type
:
node
entity_field
:
sticky
plugin_id
:
standard
field_uw_ct_contact_sort_name_value
:
id
:
field_uw_ct_contact_sort_name_value
table
:
node__field_uw_ct_contact_sort_name
field
:
field_uw_ct_contact_sort_name_value
relationship
:
none
group_type
:
group
admin_label
:
'
'
order
:
ASC
exposed
:
false
expose
:
label
:
'
'
plugin_id
:
standard
weight
:
id
:
weight
table
:
draggableviews_structure
...
...
@@ -346,6 +334,18 @@ display:
draggable_views_reference
:
this
draggable_views_null_order
:
after
plugin_id
:
draggable_views_sort_default
field_uw_ct_contact_sort_name_value
:
id
:
field_uw_ct_contact_sort_name_value
table
:
node__field_uw_ct_contact_sort_name
field
:
field_uw_ct_contact_sort_name_value
relationship
:
none
group_type
:
group
admin_label
:
'
'
order
:
ASC
exposed
:
false
expose
:
label
:
'
'
plugin_id
:
standard
title
:
Contacts
header
:
{
}
footer
:
{
}
...
...
uw_ct_contact.module
View file @
71a1fc21
...
...
@@ -91,3 +91,14 @@ function _uw_ct_contact_node_form_callback(array &$form, FormStateInterface $for
return
$form
;
}
/**
* Implements hook_preprocess_views_view().
*/
function
uw_ct_contact_preprocess_views_view
(
&
$variables
)
{
// If on the contacts view, add flag for exp/col all.
if
(
$variables
[
'view'
]
->
id
()
==
'uw_view_contacts'
)
{
$variables
[
'exp_col_all'
]
=
TRUE
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment