-
Notifications
You must be signed in to change notification settings - Fork 14
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 #1968 from danskernesdigitalebibliotek/DDFBRA-281-…
…create-go-category-page DDFBRA-281 - Create go category page
- Loading branch information
Showing
44 changed files
with
1,380 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ roles: | |
external_system: safe | ||
bnf_graphql_client: unsafe | ||
go_graphql_client: unsafe | ||
go_editor: unsafe |
22 changes: 22 additions & 0 deletions
22
config/sync/core.base_field_override.node.go_category.promote.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: 8f3c43f9-8b6f-4175-833b-02ee0ccece44 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.go_category | ||
id: node.go_category.promote | ||
field_name: promote | ||
entity_type: node | ||
bundle: go_category | ||
label: 'Promoted to front page' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
69 changes: 69 additions & 0 deletions
69
config/sync/core.entity_form_display.media.audio.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,69 @@ | ||
uuid: 8ea391ef-871a-45c1-9ad7-a283a7de5fe7 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.media.audio.field_media_audio_file | ||
- media.type.audio | ||
module: | ||
- file | ||
- path | ||
id: media.audio.default | ||
targetEntityType: media | ||
bundle: audio | ||
mode: default | ||
content: | ||
created: | ||
type: datetime_timestamp | ||
weight: 10 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
field_media_audio_file: | ||
type: file_generic | ||
weight: 0 | ||
region: content | ||
settings: | ||
progress_indicator: throbber | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 2 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
name: | ||
type: string_textfield | ||
weight: -5 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
path: | ||
type: path | ||
weight: 30 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 100 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
uid: | ||
type: entity_reference_autocomplete | ||
weight: 5 | ||
region: content | ||
settings: | ||
match_operator: CONTAINS | ||
match_limit: 10 | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: | ||
publish_on: true | ||
unpublish_on: true |
30 changes: 30 additions & 0 deletions
30
config/sync/core.entity_form_display.media.audio.media_library.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,30 @@ | ||
uuid: abb96c6a-fd90-4a3e-bae3-f3c6032ac359 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_form_mode.media.media_library | ||
- field.field.media.audio.field_media_audio_file | ||
- media.type.audio | ||
id: media.audio.media_library | ||
targetEntityType: media | ||
bundle: audio | ||
mode: media_library | ||
content: | ||
name: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
hidden: | ||
created: true | ||
field_media_audio_file: true | ||
langcode: true | ||
path: true | ||
publish_on: true | ||
status: true | ||
uid: true | ||
unpublish_on: true |
186 changes: 186 additions & 0 deletions
186
config/sync/core.entity_form_display.node.go_category.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,186 @@ | ||
uuid: 11c322b1-35ed-4d57-a586-ff84873b12c6 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.node.go_category.field_category_menu_color | ||
- field.field.node.go_category.field_category_menu_image | ||
- field.field.node.go_category.field_category_menu_sound | ||
- field.field.node.go_category.field_category_menu_title | ||
- field.field.node.go_category.field_paragraphs | ||
- field.field.node.go_category.field_publication_date | ||
- node.type.go_category | ||
module: | ||
- color_field | ||
- datetime | ||
- field_group | ||
- media_library | ||
- paragraphs | ||
- paragraphs_ee | ||
- paragraphs_features | ||
- path | ||
- scheduler | ||
third_party_settings: | ||
field_group: | ||
group_category_info: | ||
children: | ||
- field_category_menu_title | ||
- field_category_menu_color | ||
- field_category_menu_image | ||
- field_category_menu_sound | ||
label: 'Category Info' | ||
region: content | ||
parent_name: '' | ||
weight: 6 | ||
format_type: details_sidebar | ||
format_settings: | ||
classes: '' | ||
show_empty_fields: true | ||
id: '' | ||
label_as_html: false | ||
open: true | ||
description: 'These fields are will be used to display this category in the category menu.' | ||
required_fields: true | ||
weight: 0 | ||
group_author_date: | ||
children: | ||
- field_publication_date | ||
label: 'Author & Date' | ||
region: content | ||
parent_name: '' | ||
weight: 7 | ||
format_type: details_sidebar | ||
format_settings: | ||
classes: '' | ||
show_empty_fields: false | ||
id: '' | ||
label_as_html: false | ||
open: true | ||
description: '' | ||
required_fields: true | ||
weight: 0 | ||
id: node.go_category.default | ||
targetEntityType: node | ||
bundle: go_category | ||
mode: default | ||
content: | ||
field_category_menu_color: | ||
type: color_field_widget_box | ||
weight: 28 | ||
region: content | ||
settings: | ||
default_colors: '#ffd2f0,#dcc3ff,#ffdcb9,#bee6fa' | ||
third_party_settings: { } | ||
field_category_menu_image: | ||
type: media_library_widget | ||
weight: 29 | ||
region: content | ||
settings: | ||
media_types: { } | ||
third_party_settings: { } | ||
field_category_menu_sound: | ||
type: media_library_widget | ||
weight: 30 | ||
region: content | ||
settings: | ||
media_types: { } | ||
third_party_settings: { } | ||
field_category_menu_title: | ||
type: string_textfield | ||
weight: 27 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
field_paragraphs: | ||
type: paragraphs | ||
weight: 1 | ||
region: content | ||
settings: | ||
title: Paragraph | ||
title_plural: Paragraphs | ||
edit_mode: closed | ||
closed_mode: preview | ||
autocollapse: none | ||
closed_mode_threshold: 0 | ||
add_mode: modal | ||
form_display_mode: default | ||
default_paragraph_type: _none | ||
features: | ||
add_above: '0' | ||
collapse_edit_all: collapse_edit_all | ||
convert: '0' | ||
duplicate: duplicate | ||
third_party_settings: | ||
paragraphs_features: | ||
add_in_between: true | ||
add_in_between_link_count: 0 | ||
delete_confirmation: true | ||
show_drag_and_drop: true | ||
show_collapse_all: true | ||
paragraphs_ee: | ||
paragraphs_ee: | ||
dialog_off_canvas: false | ||
dialog_style: tiles | ||
drag_drop: true | ||
field_publication_date: | ||
type: datetime_default | ||
weight: 8 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
path: | ||
type: path | ||
weight: 9 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
publish_on: | ||
type: datetime_timestamp_no_default | ||
weight: 4 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
scheduler_settings: | ||
weight: 3 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
simple_sitemap: | ||
weight: 11 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
status: | ||
type: boolean_checkbox | ||
weight: 2 | ||
region: content | ||
settings: | ||
display_label: true | ||
third_party_settings: { } | ||
title: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
unpublish_on: | ||
type: datetime_timestamp_no_default | ||
weight: 5 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
url_redirects: | ||
weight: 10 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: | ||
created: true | ||
langcode: true | ||
promote: true | ||
sticky: true | ||
uid: true |
32 changes: 32 additions & 0 deletions
32
config/sync/core.entity_view_display.media.audio.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,32 @@ | ||
uuid: e3a9d838-ceaa-47b7-80e3-f2cfb2649060 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.media.audio.field_media_audio_file | ||
- media.type.audio | ||
module: | ||
- file | ||
id: media.audio.default | ||
targetEntityType: media | ||
bundle: audio | ||
mode: default | ||
content: | ||
field_media_audio_file: | ||
type: file_audio | ||
label: visually_hidden | ||
settings: | ||
controls: true | ||
autoplay: false | ||
loop: false | ||
multiple_file_display_type: tags | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
langcode: true | ||
name: true | ||
search_api_excerpt: true | ||
thumbnail: true | ||
uid: true |
34 changes: 34 additions & 0 deletions
34
config/sync/core.entity_view_display.media.audio.media_library.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,34 @@ | ||
uuid: 626fe6a5-c0fa-45a5-acf4-33248c60743e | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.media.media_library | ||
- field.field.media.audio.field_media_audio_file | ||
- image.style.media_library | ||
- media.type.audio | ||
module: | ||
- image | ||
id: media.audio.media_library | ||
targetEntityType: media | ||
bundle: audio | ||
mode: media_library | ||
content: | ||
thumbnail: | ||
type: image | ||
label: hidden | ||
settings: | ||
image_link: '' | ||
image_style: media_library | ||
image_loading: | ||
attribute: lazy | ||
third_party_settings: { } | ||
weight: 0 | ||
region: content | ||
hidden: | ||
created: true | ||
field_media_audio_file: true | ||
langcode: true | ||
name: true | ||
search_api_excerpt: true | ||
uid: true |
Oops, something went wrong.