Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_ct_event
Commits
b74aad68
Commit
b74aad68
authored
Mar 18, 2021
by
Lily Yan
Committed by
Liam Morland
Mar 22, 2021
Browse files
ISTWCMS-4578 Add audience field to event content type
parent
47522147
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
15 deletions
+89
-15
config/install/core.entity_form_display.node.uw_ct_event.default.yml
...all/core.entity_form_display.node.uw_ct_event.default.yml
+29
-15
config/install/core.entity_view_display.node.uw_ct_event.default.yml
...all/core.entity_view_display.node.uw_ct_event.default.yml
+25
-0
config/install/core.entity_view_display.node.uw_ct_event.teaser.yml
...tall/core.entity_view_display.node.uw_ct_event.teaser.yml
+2
-0
config/install/field.field.node.uw_ct_event.field_uw_audience.yml
...nstall/field.field.node.uw_ct_event.field_uw_audience.yml
+33
-0
No files found.
config/install/core.entity_form_display.node.uw_ct_event.default.yml
View file @
b74aad68
...
...
@@ -2,6 +2,7 @@ langcode: en
status
:
true
dependencies
:
config
:
-
field.field.node.uw_ct_event.field_uw_audience
-
field.field.node.uw_ct_event.field_uw_event_cost
-
field.field.node.uw_ct_event.field_uw_event_date
-
field.field.node.uw_ct_event.field_uw_event_host
...
...
@@ -28,15 +29,17 @@ dependencies:
-
metatag
-
path
-
smart_date
-
term_reference_tree
-
text
third_party_settings
:
field_group
:
group_uw_event_tags
:
children
:
-
field_uw_audience
-
field_uw_event_type
-
field_uw_event_tags
parent_name
:
'
'
weight
:
14
weight
:
20
format_type
:
fieldset
format_settings
:
id
:
'
'
...
...
@@ -66,7 +69,7 @@ third_party_settings:
-
field_uw_event_location_coord
-
field_uw_event_map
parent_name
:
'
'
weight
:
1
3
weight
:
1
6
format_type
:
fieldset
region
:
content
format_settings
:
...
...
@@ -81,7 +84,7 @@ third_party_settings:
-
field_uw_meta_image
-
field_uw_meta_tags
parent_name
:
'
'
weight
:
15
weight
:
24
format_type
:
fieldset
region
:
content
format_settings
:
...
...
@@ -101,8 +104,19 @@ content:
region
:
content
settings
:
{
}
third_party_settings
:
{
}
field_uw_audience
:
weight
:
21
settings
:
leaves_only
:
true
select_parents
:
true
cascading_selection
:
0
max_depth
:
0
start_minimized
:
false
third_party_settings
:
{
}
type
:
term_reference_tree
region
:
content
field_uw_event_cost
:
weight
:
29
weight
:
15
settings
:
size
:
60
placeholder
:
'
'
...
...
@@ -123,7 +137,7 @@ content:
type
:
smartdate_timezone
region
:
content
field_uw_event_host
:
weight
:
27
weight
:
13
settings
:
placeholder_url
:
'
'
placeholder_title
:
'
'
...
...
@@ -138,13 +152,13 @@ content:
third_party_settings
:
{
}
region
:
content
field_uw_event_location_address
:
weight
:
30
weight
:
17
settings
:
{
}
third_party_settings
:
{
}
type
:
address_default
region
:
content
field_uw_event_location_coord
:
weight
:
3
1
weight
:
1
8
settings
:
map_google_places
:
places_additional_options
:
'
'
...
...
@@ -186,7 +200,7 @@ content:
region
:
content
field_uw_event_map
:
type
:
link_default
weight
:
32
weight
:
19
region
:
content
settings
:
placeholder_url
:
'
'
...
...
@@ -201,7 +215,7 @@ content:
type
:
text_textarea
region
:
content
field_uw_event_tags
:
weight
:
14
weight
:
23
settings
:
limit
:
'
10'
min_length
:
'
0'
...
...
@@ -218,13 +232,13 @@ content:
type
:
autocomplete_deluxe
region
:
content
field_uw_event_type
:
weight
:
13
weight
:
22
settings
:
{
}
third_party_settings
:
{
}
type
:
options_buttons
region
:
content
field_uw_event_website
:
weight
:
28
weight
:
14
settings
:
placeholder_url
:
'
'
placeholder_title
:
'
'
...
...
@@ -232,7 +246,7 @@ content:
type
:
link_default
region
:
content
field_uw_meta_description
:
weight
:
17
weight
:
25
settings
:
rows
:
3
placeholder
:
'
'
...
...
@@ -245,14 +259,14 @@ content:
type
:
string_textarea
region
:
content
field_uw_meta_image
:
weight
:
18
weight
:
26
settings
:
media_types
:
{
}
third_party_settings
:
{
}
type
:
media_library_widget
region
:
content
field_uw_meta_tags
:
weight
:
19
weight
:
27
settings
:
sidebar
:
false
third_party_settings
:
{
}
...
...
@@ -318,8 +332,8 @@ content:
third_party_settings
:
{
}
url_redirects
:
weight
:
50
region
:
content
settings
:
{
}
third_party_settings
:
{
}
region
:
content
hidden
:
layout_builder__layout
:
true
config/install/core.entity_view_display.node.uw_ct_event.default.yml
View file @
b74aad68
...
...
@@ -3,6 +3,7 @@ status: true
dependencies
:
config
:
-
core.base_field_override.node.uw_ct_event.title
-
field.field.node.uw_ct_event.field_uw_audience
-
field.field.node.uw_ct_event.field_uw_event_cost
-
field.field.node.uw_ct_event.field_uw_event_date
-
field.field.node.uw_ct_event.field_uw_event_host
...
...
@@ -98,6 +99,22 @@ third_party_settings:
additional
:
layout_builder_id
:
'
'
weight
:
1
91e3aae6-f8ef-45a3-9a8a-dbff5d0a14b8
:
uuid
:
91e3aae6-f8ef-45a3-9a8a-dbff5d0a14b8
region
:
first
configuration
:
label_display
:
'
0'
context_mapping
:
entity
:
layout_builder.entity
id
:
'
field_block:node:uw_ct_event:field_uw_audience'
formatter
:
label
:
above
settings
:
link
:
true
third_party_settings
:
{
}
type
:
entity_reference_label
additional
:
{
}
weight
:
2
third_party_settings
:
{
}
-
layout_id
:
uw_1_column
...
...
@@ -428,6 +445,14 @@ content:
settings
:
{
}
third_party_settings
:
{
}
region
:
first
field_uw_audience
:
weight
:
117
label
:
above
settings
:
link
:
true
third_party_settings
:
{
}
type
:
entity_reference_label
region
:
first
field_uw_event_cost
:
weight
:
105
label
:
above
...
...
config/install/core.entity_view_display.node.uw_ct_event.teaser.yml
View file @
b74aad68
...
...
@@ -3,6 +3,7 @@ status: true
dependencies
:
config
:
-
core.entity_view_mode.node.teaser
-
field.field.node.uw_ct_event.field_uw_audience
-
field.field.node.uw_ct_event.field_uw_event_cost
-
field.field.node.uw_ct_event.field_uw_event_date
-
field.field.node.uw_ct_event.field_uw_event_host
...
...
@@ -44,6 +45,7 @@ content:
settings
:
{
}
third_party_settings
:
{
}
hidden
:
field_uw_audience
:
true
field_uw_event_cost
:
true
field_uw_event_date
:
true
field_uw_event_host
:
true
...
...
config/install/field.field.node.uw_ct_event.field_uw_audience.yml
0 → 100644
View file @
b74aad68
langcode
:
en
status
:
true
dependencies
:
config
:
-
field.storage.node.field_uw_audience
-
node.type.uw_ct_event
-
taxonomy.vocabulary.uw_vocab_audience
module
:
-
require_on_publish
third_party_settings
:
require_on_publish
:
require_on_publish
:
false
id
:
node.uw_ct_event.field_uw_audience
field_name
:
field_uw_audience
entity_type
:
node
bundle
:
uw_ct_event
label
:
Audience
description
:
'
'
required
:
false
translatable
:
true
default_value
:
{
}
default_value_callback
:
'
'
settings
:
handler
:
'
default:taxonomy_term'
handler_settings
:
target_bundles
:
uw_vocab_audience
:
uw_vocab_audience
sort
:
field
:
name
direction
:
asc
auto_create
:
false
auto_create_bundle
:
'
'
field_type
:
entity_reference
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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