-
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.
Merge pull request #334 from Bixal/hotfix/1.6.3
Integrate Hotfix/1.6.3 to develop
- Loading branch information
Showing
23 changed files
with
381 additions
and
8 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
50 changes: 50 additions & 0 deletions
50
config/sync/core.entity_form_display.sitewide_alert.sitewide_alert.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,50 @@ | ||
uuid: 693f7e7b-a814-4a6e-8c60-1efc4ad06257 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.sitewide_alert.sitewide_alert.field_heading | ||
- field.field.sitewide_alert.sitewide_alert.field_no_icon | ||
- field.field.sitewide_alert.sitewide_alert.field_slim | ||
module: | ||
- datetime_range | ||
- sitewide_alert | ||
- text | ||
id: sitewide_alert.sitewide_alert.default | ||
targetEntityType: sitewide_alert | ||
bundle: sitewide_alert | ||
mode: default | ||
content: | ||
field_heading: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_no_icon: | ||
type: boolean_checkbox | ||
weight: 3 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
field_slim: | ||
type: boolean_checkbox | ||
weight: 2 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
message: | ||
type: text_textarea | ||
weight: 1 | ||
region: content | ||
settings: | ||
rows: 4 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: | ||
langcode: true | ||
user_id: true |
29 changes: 29 additions & 0 deletions
29
config/sync/core.entity_view_display.sitewide_alert.sitewide_alert.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,29 @@ | ||
uuid: fd537a2d-5599-4548-b215-cfbd00cb596c | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.sitewide_alert.sitewide_alert.field_heading | ||
- field.field.sitewide_alert.sitewide_alert.field_no_icon | ||
- field.field.sitewide_alert.sitewide_alert.field_slim | ||
module: | ||
- sitewide_alert | ||
- text | ||
id: sitewide_alert.sitewide_alert.default | ||
targetEntityType: sitewide_alert | ||
bundle: sitewide_alert | ||
mode: default | ||
content: | ||
message: | ||
type: text_default | ||
label: hidden | ||
settings: { } | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
field_heading: true | ||
field_no_icon: true | ||
field_slim: true | ||
langcode: true | ||
search_api_excerpt: true |
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
20 changes: 20 additions & 0 deletions
20
config/sync/field.field.sitewide_alert.sitewide_alert.field_heading.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: 45c25223-f42b-4cd0-a3f6-919c616b553e | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.sitewide_alert.field_heading | ||
module: | ||
- sitewide_alert | ||
id: sitewide_alert.sitewide_alert.field_heading | ||
field_name: field_heading | ||
entity_type: sitewide_alert | ||
bundle: sitewide_alert | ||
label: heading | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
22 changes: 22 additions & 0 deletions
22
config/sync/field.field.sitewide_alert.sitewide_alert.field_no_icon.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: 02d9ebfc-cee1-4aa2-bb9c-244d278edae5 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.sitewide_alert.field_no_icon | ||
module: | ||
- sitewide_alert | ||
id: sitewide_alert.sitewide_alert.field_no_icon | ||
field_name: field_no_icon | ||
entity_type: sitewide_alert | ||
bundle: sitewide_alert | ||
label: 'No Icon' | ||
description: "Display an site alert without an icon.\r\n" | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
22 changes: 22 additions & 0 deletions
22
config/sync/field.field.sitewide_alert.sitewide_alert.field_slim.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: 8d38ea0c-644a-4e1f-9c72-e25d257df941 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.storage.sitewide_alert.field_slim | ||
module: | ||
- sitewide_alert | ||
id: sitewide_alert.sitewide_alert.field_slim | ||
field_name: field_slim | ||
entity_type: sitewide_alert | ||
bundle: sitewide_alert | ||
label: Slim | ||
description: 'Display a slimmer version of the site alert.' | ||
required: false | ||
translatable: false | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
21 changes: 21 additions & 0 deletions
21
config/sync/field.storage.sitewide_alert.field_heading.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: 46dadca5-145f-4799-bdec-08c58563b5f1 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- sitewide_alert | ||
id: sitewide_alert.field_heading | ||
field_name: field_heading | ||
entity_type: sitewide_alert | ||
type: string | ||
settings: | ||
max_length: 255 | ||
case_sensitive: false | ||
is_ascii: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
18 changes: 18 additions & 0 deletions
18
config/sync/field.storage.sitewide_alert.field_no_icon.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,18 @@ | ||
uuid: 05882359-9a81-4dd1-8aab-218cdbcf286c | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- sitewide_alert | ||
id: sitewide_alert.field_no_icon | ||
field_name: field_no_icon | ||
entity_type: sitewide_alert | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
uuid: 797e9cc6-2a37-4992-92da-5c8f06479f6b | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- sitewide_alert | ||
id: sitewide_alert.field_slim | ||
field_name: field_slim | ||
entity_type: sitewide_alert | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
_core: | ||
default_config_hash: 0y_QHS2RsEHVusPnhiEqDUshLy8-YqDaXtafZJdYjXA | ||
show_on_admin: 0 | ||
alert_styles: "info|Info\r\nemergency|Emergency" | ||
display_order: ascending | ||
refresh_interval: 15 | ||
automatic_refresh: 0 | ||
cache_max_age: 300 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Preprocess function for content. | ||
*/ | ||
|
||
/** | ||
* Implements hook_preprocess_HOOK(). | ||
*/ | ||
function bixal_uswds_preprocess_sitewide_alert(&$variables): void { | ||
$variables['slim'] = (bool) $variables['sitewide_alert']->get('field_slim')->getString(); | ||
$variables['no_icon'] = (bool) $variables['sitewide_alert']->get('field_no_icon')->getString(); | ||
$variables['style'] = $variables['sitewide_alert']->get('style')->getString(); | ||
$variables['heading'] = $variables['sitewide_alert']->get('field_heading')->getString(); | ||
} |
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
1 change: 0 additions & 1 deletion
1
web/themes/custom/bixal_uswds/src/sass/uswds-overrides/_index.scss
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
5 changes: 0 additions & 5 deletions
5
web/themes/custom/bixal_uswds/src/sass/uswds-overrides/_override-usa-site-alert.scss
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.