Skip to content

Commit d60f708

Browse files
committed
[CIVIC-2045] Renamed Message to Content message.
1 parent 5a9622c commit d60f708

14 files changed

+54
-54
lines changed

web/themes/contrib/civictheme/civictheme.info.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ config_devel:
150150
- core.entity_form_display.paragraph.civictheme_automated_list.default
151151
- core.entity_form_display.paragraph.civictheme_callout.default
152152
- core.entity_form_display.paragraph.civictheme_campaign.default
153-
- core.entity_form_display.paragraph.civictheme_message.default
154153
- core.entity_form_display.paragraph.civictheme_content.default
154+
- core.entity_form_display.paragraph.civictheme_content_message.default
155155
- core.entity_form_display.paragraph.civictheme_event_card.default
156156
- core.entity_form_display.paragraph.civictheme_event_card_ref.default
157157
- core.entity_form_display.paragraph.civictheme_iframe.default
@@ -212,8 +212,8 @@ config_devel:
212212
- core.entity_view_display.paragraph.civictheme_automated_list.default
213213
- core.entity_view_display.paragraph.civictheme_callout.default
214214
- core.entity_view_display.paragraph.civictheme_campaign.default
215-
- core.entity_view_display.paragraph.civictheme_message.default
216215
- core.entity_view_display.paragraph.civictheme_content.default
216+
- core.entity_view_display.paragraph.civictheme_content_message.default
217217
- core.entity_view_display.paragraph.civictheme_event_card.default
218218
- core.entity_view_display.paragraph.civictheme_event_card_ref.default
219219
- core.entity_view_display.paragraph.civictheme_iframe.default
@@ -358,16 +358,16 @@ config_devel:
358358
- field.field.paragraph.civictheme_campaign.field_c_p_title
359359
- field.field.paragraph.civictheme_campaign.field_c_p_topics
360360
- field.field.paragraph.civictheme_campaign.field_c_p_vertical_spacing
361-
- field.field.paragraph.civictheme_message.field_c_p_background
362-
- field.field.paragraph.civictheme_message.field_c_p_content
363-
- field.field.paragraph.civictheme_message.field_c_p_message_type
364-
- field.field.paragraph.civictheme_message.field_c_p_theme
365-
- field.field.paragraph.civictheme_message.field_c_p_title
366-
- field.field.paragraph.civictheme_message.field_c_p_vertical_spacing
367361
- field.field.paragraph.civictheme_content.field_c_p_background
368362
- field.field.paragraph.civictheme_content.field_c_p_content
369363
- field.field.paragraph.civictheme_content.field_c_p_theme
370364
- field.field.paragraph.civictheme_content.field_c_p_vertical_spacing
365+
- field.field.paragraph.civictheme_content_message.field_c_p_background
366+
- field.field.paragraph.civictheme_content_message.field_c_p_content
367+
- field.field.paragraph.civictheme_content_message.field_c_p_message_type
368+
- field.field.paragraph.civictheme_content_message.field_c_p_theme
369+
- field.field.paragraph.civictheme_content_message.field_c_p_title
370+
- field.field.paragraph.civictheme_content_message.field_c_p_vertical_spacing
371371
- field.field.paragraph.civictheme_event_card.field_c_p_date_range
372372
- field.field.paragraph.civictheme_event_card.field_c_p_image
373373
- field.field.paragraph.civictheme_event_card.field_c_p_link
@@ -597,7 +597,7 @@ config_devel:
597597
- paragraphs.paragraphs_type.civictheme_automated_list
598598
- paragraphs.paragraphs_type.civictheme_callout
599599
- paragraphs.paragraphs_type.civictheme_campaign
600-
- paragraphs.paragraphs_type.civictheme_message
600+
- paragraphs.paragraphs_type.civictheme_content_message
601601
- paragraphs.paragraphs_type.civictheme_content
602602
- paragraphs.paragraphs_type.civictheme_event_card
603603
- paragraphs.paragraphs_type.civictheme_event_card_ref

web/themes/contrib/civictheme/civictheme.theme

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ require_once __DIR__ . '/includes/block_content.inc';
1919
require_once __DIR__ . '/includes/callout.inc';
2020
require_once __DIR__ . '/includes/campaign.inc';
2121
require_once __DIR__ . '/includes/content.inc';
22+
require_once __DIR__ . '/includes/content_message.inc';
2223
require_once __DIR__ . '/includes/manual_list.inc';
2324
require_once __DIR__ . '/includes/cards.inc';
2425
require_once __DIR__ . '/includes/form_element.inc';
@@ -31,7 +32,6 @@ require_once __DIR__ . '/includes/layout.inc';
3132
require_once __DIR__ . '/includes/local_tasks.inc';
3233
require_once __DIR__ . '/includes/libraries.inc';
3334
require_once __DIR__ . '/includes/map.inc';
34-
require_once __DIR__ . '/includes/message.inc';
3535
require_once __DIR__ . '/includes/media.inc';
3636
require_once __DIR__ . '/includes/menu.inc';
3737
require_once __DIR__ . '/includes/mobile_navigation.inc';

web/themes/contrib/civictheme/config/install/core.entity_form_display.paragraph.civictheme_message.default.yml web/themes/contrib/civictheme/config/install/core.entity_form_display.paragraph.civictheme_content_message.default.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ langcode: en
22
status: true
33
dependencies:
44
config:
5-
- field.field.paragraph.civictheme_message.field_c_p_background
6-
- field.field.paragraph.civictheme_message.field_c_p_content
7-
- field.field.paragraph.civictheme_message.field_c_p_message_type
8-
- field.field.paragraph.civictheme_message.field_c_p_theme
9-
- field.field.paragraph.civictheme_message.field_c_p_title
10-
- field.field.paragraph.civictheme_message.field_c_p_vertical_spacing
11-
- paragraphs.paragraphs_type.civictheme_message
5+
- field.field.paragraph.civictheme_content_message.field_c_p_background
6+
- field.field.paragraph.civictheme_content_message.field_c_p_content
7+
- field.field.paragraph.civictheme_content_message.field_c_p_message_type
8+
- field.field.paragraph.civictheme_content_message.field_c_p_theme
9+
- field.field.paragraph.civictheme_content_message.field_c_p_title
10+
- field.field.paragraph.civictheme_content_message.field_c_p_vertical_spacing
11+
- paragraphs.paragraphs_type.civictheme_content_message
1212
module:
1313
- text
14-
id: paragraph.civictheme_message.default
14+
id: paragraph.civictheme_content_message.default
1515
targetEntityType: paragraph
16-
bundle: civictheme_message
16+
bundle: civictheme_content_message
1717
mode: default
1818
content:
1919
field_c_p_background:

web/themes/contrib/civictheme/config/install/core.entity_view_display.paragraph.civictheme_message.default.yml web/themes/contrib/civictheme/config/install/core.entity_view_display.paragraph.civictheme_content_message.default.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ langcode: en
22
status: true
33
dependencies:
44
config:
5-
- field.field.paragraph.civictheme_message.field_c_p_background
6-
- field.field.paragraph.civictheme_message.field_c_p_content
7-
- field.field.paragraph.civictheme_message.field_c_p_message_type
8-
- field.field.paragraph.civictheme_message.field_c_p_theme
9-
- field.field.paragraph.civictheme_message.field_c_p_title
10-
- field.field.paragraph.civictheme_message.field_c_p_vertical_spacing
11-
- paragraphs.paragraphs_type.civictheme_message
5+
- field.field.paragraph.civictheme_content_message.field_c_p_background
6+
- field.field.paragraph.civictheme_content_message.field_c_p_content
7+
- field.field.paragraph.civictheme_content_message.field_c_p_message_type
8+
- field.field.paragraph.civictheme_content_message.field_c_p_theme
9+
- field.field.paragraph.civictheme_content_message.field_c_p_title
10+
- field.field.paragraph.civictheme_content_message.field_c_p_vertical_spacing
11+
- paragraphs.paragraphs_type.civictheme_content_message
1212
module:
1313
- options
1414
- text
15-
id: paragraph.civictheme_message.default
15+
id: paragraph.civictheme_content_message.default
1616
targetEntityType: paragraph
17-
bundle: civictheme_message
17+
bundle: civictheme_content_message
1818
mode: default
1919
content:
2020
field_c_p_background:

web/themes/contrib/civictheme/config/install/field.field.node.civictheme_page.field_c_n_components.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- paragraphs.paragraphs_type.civictheme_iframe
1414
- paragraphs.paragraphs_type.civictheme_manual_list
1515
- paragraphs.paragraphs_type.civictheme_map
16-
- paragraphs.paragraphs_type.civictheme_message
16+
- paragraphs.paragraphs_type.civictheme_content_message
1717
- paragraphs.paragraphs_type.civictheme_next_step
1818
- paragraphs.paragraphs_type.civictheme_promo
1919
- paragraphs.paragraphs_type.civictheme_slider
@@ -43,7 +43,7 @@ settings:
4343
civictheme_iframe: civictheme_iframe
4444
civictheme_manual_list: civictheme_manual_list
4545
civictheme_map: civictheme_map
46-
civictheme_message: civictheme_message
46+
civictheme_content_message: civictheme_content_message
4747
civictheme_next_step: civictheme_next_step
4848
civictheme_promo: civictheme_promo
4949
civictheme_slider: civictheme_slider
@@ -86,7 +86,7 @@ settings:
8686
civictheme_map:
8787
weight: -53
8888
enabled: true
89-
civictheme_message:
89+
civictheme_content_message:
9090
weight: -52
9191
enabled: true
9292
civictheme_navigation_card:

web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_message.field_c_p_background.yml web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_content_message.field_c_p_background.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ status: true
33
dependencies:
44
config:
55
- field.storage.paragraph.field_c_p_background
6-
- paragraphs.paragraphs_type.civictheme_message
7-
id: paragraph.civictheme_message.field_c_p_background
6+
- paragraphs.paragraphs_type.civictheme_content_message
7+
id: paragraph.civictheme_content_message.field_c_p_background
88
field_name: field_c_p_background
99
entity_type: paragraph
10-
bundle: civictheme_message
10+
bundle: civictheme_content_message
1111
label: Background
1212
description: 'Apply a themed background color and provide horizontal spacing to the component'
1313
required: false

web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_message.field_c_p_content.yml web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_content_message.field_c_p_content.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ status: true
33
dependencies:
44
config:
55
- field.storage.paragraph.field_c_p_content
6-
- paragraphs.paragraphs_type.civictheme_message
6+
- paragraphs.paragraphs_type.civictheme_content_message
77
module:
88
- text
9-
id: paragraph.civictheme_message.field_c_p_content
9+
id: paragraph.civictheme_content_message.field_c_p_content
1010
field_name: field_c_p_content
1111
entity_type: paragraph
12-
bundle: civictheme_message
12+
bundle: civictheme_content_message
1313
label: Content
1414
description: ''
1515
required: false

web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_message.field_c_p_message_type.yml web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_content_message.field_c_p_message_type.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ status: true
33
dependencies:
44
config:
55
- field.storage.paragraph.field_c_p_message_type
6-
- paragraphs.paragraphs_type.civictheme_message
6+
- paragraphs.paragraphs_type.civictheme_content_message
77
module:
88
- options
9-
id: paragraph.civictheme_message.field_c_p_message_type
9+
id: paragraph.civictheme_content_message.field_c_p_message_type
1010
field_name: field_c_p_message_type
1111
entity_type: paragraph
12-
bundle: civictheme_message
12+
bundle: civictheme_content_message
1313
label: Type
1414
description: ''
1515
required: true

web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_message.field_c_p_theme.yml web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_content_message.field_c_p_theme.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ status: true
33
dependencies:
44
config:
55
- field.storage.paragraph.field_c_p_theme
6-
- paragraphs.paragraphs_type.civictheme_message
6+
- paragraphs.paragraphs_type.civictheme_content_message
77
module:
88
- options
9-
id: paragraph.civictheme_message.field_c_p_theme
9+
id: paragraph.civictheme_content_message.field_c_p_theme
1010
field_name: field_c_p_theme
1111
entity_type: paragraph
12-
bundle: civictheme_message
12+
bundle: civictheme_content_message
1313
label: Theme
1414
description: ''
1515
required: true

web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_message.field_c_p_title.yml web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_content_message.field_c_p_title.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ status: true
33
dependencies:
44
config:
55
- field.storage.paragraph.field_c_p_title
6-
- paragraphs.paragraphs_type.civictheme_message
7-
id: paragraph.civictheme_message.field_c_p_title
6+
- paragraphs.paragraphs_type.civictheme_content_message
7+
id: paragraph.civictheme_content_message.field_c_p_title
88
field_name: field_c_p_title
99
entity_type: paragraph
10-
bundle: civictheme_message
10+
bundle: civictheme_content_message
1111
label: Title
1212
description: ''
1313
required: false

web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_message.field_c_p_vertical_spacing.yml web/themes/contrib/civictheme/config/install/field.field.paragraph.civictheme_content_message.field_c_p_vertical_spacing.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ status: true
33
dependencies:
44
config:
55
- field.storage.paragraph.field_c_p_vertical_spacing
6-
- paragraphs.paragraphs_type.civictheme_message
6+
- paragraphs.paragraphs_type.civictheme_content_message
77
module:
88
- options
9-
id: paragraph.civictheme_message.field_c_p_vertical_spacing
9+
id: paragraph.civictheme_content_message.field_c_p_vertical_spacing
1010
field_name: field_c_p_vertical_spacing
1111
entity_type: paragraph
12-
bundle: civictheme_message
12+
bundle: civictheme_content_message
1313
label: 'Vertical spacing'
1414
description: 'Adds additional vertical spacing to a component'
1515
required: true

web/themes/contrib/civictheme/config/install/paragraphs.paragraphs_type.civictheme_message.yml web/themes/contrib/civictheme/config/install/paragraphs.paragraphs_type.civictheme_content_message.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
langcode: en
22
status: true
33
dependencies: { }
4-
id: civictheme_message
5-
label: Message
4+
id: civictheme_content_message
5+
label: Content message
66
icon_uuid: null
77
icon_default: null
88
description: ''

web/themes/contrib/civictheme/includes/message.inc web/themes/contrib/civictheme/includes/content_message.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
/**
44
* @file
5-
* CivicTheme Message paragraph component.
5+
* CivicTheme Content message paragraph component.
66
*/
77

88
declare(strict_types=1);
99

1010
/**
1111
* Implements template_preprocess_paragraph().
1212
*/
13-
function civictheme_preprocess_paragraph__civictheme_message(array &$variables): void {
13+
function civictheme_preprocess_paragraph__civictheme_content_message(array &$variables): void {
1414
_civictheme_preprocess_paragraph__paragraph_field__theme($variables);
1515
_civictheme_preprocess_paragraph__paragraph_field__title($variables);
1616
_civictheme_preprocess_paragraph__paragraph_field__content($variables);

web/themes/contrib/civictheme/templates/paragraphs/paragraph--civictheme-message.html.twig web/themes/contrib/civictheme/templates/paragraphs/paragraph--civictheme-content-message.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{#
22
/**
33
* @file
4-
* CivicTheme implementation to display an message.
4+
* CivicTheme implementation to display a content message.
55
*/
66
#}
77
{% include '@organisms/content-message/content-message.twig' with {

0 commit comments

Comments
 (0)