Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIGITAL-48: migrate templates for glossary #90

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function exportContent(
'redirect',
'user',
'config_pages',
'taxonomy_term',
],
]
): ResultData
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
uuid: a6436420-b2d7-44c3-8b86-b2c7bd4fb0f6
langcode: en
status: false
dependencies:
config:
- views.view.hcd_glossary
module:
- views
theme:
- digital_gov
id: digital_gov_views_block__hcd_glossary_block_1
theme: digital_gov
region: content
weight: 0
provider: null
plugin: 'views_block:hcd_glossary-block_1'
settings:
id: 'views_block:hcd_glossary-block_1'
label: ''
label_display: '0'
provider: views
views_label: ''
items_per_page: none
visibility: { }
7 changes: 7 additions & 0 deletions config/sync/core.entity_form_display.node.guides.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- field.field.node.guides.field_deck
- field.field.node.guides.field_featured_image
- field.field.node.guides.field_guide_weight
- field.field.node.guides.field_hcd_glossary
- field.field.node.guides.field_kicker
- field.field.node.guides.field_page_weight
- field.field.node.guides.field_primary_image
Expand Down Expand Up @@ -69,6 +70,12 @@ content:
settings:
placeholder: ''
third_party_settings: { }
field_hcd_glossary:
type: options_select
weight: 51
region: content
settings: { }
third_party_settings: { }
field_kicker:
type: string_textfield
weight: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
uuid: e4082bdb-bbb7-4e43-912f-741e9b1e3277
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.hcd_glossary
module:
- path
- text
id: taxonomy_term.hcd_glossary.default
targetEntityType: taxonomy_term
bundle: hcd_glossary
mode: default
content:
description:
type: text_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
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: { }
hidden:
publish_on: true
publish_state: true
unpublish_on: true
unpublish_state: true
8 changes: 8 additions & 0 deletions config/sync/core.entity_view_display.node.guides.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- field.field.node.guides.field_deck
- field.field.node.guides.field_featured_image
- field.field.node.guides.field_guide_weight
- field.field.node.guides.field_hcd_glossary
- field.field.node.guides.field_kicker
- field.field.node.guides.field_page_weight
- field.field.node.guides.field_primary_image
Expand Down Expand Up @@ -59,6 +60,13 @@ content:
third_party_settings: { }
weight: 127
region: content
field_hcd_glossary:
type: entity_reference_entity_id
label: hidden
settings: { }
third_party_settings: { }
weight: 128
region: content
field_kicker:
type: string
label: above
Expand Down
2 changes: 2 additions & 0 deletions config/sync/core.entity_view_display.node.guides.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- field.field.node.guides.field_deck
- field.field.node.guides.field_featured_image
- field.field.node.guides.field_guide_weight
- field.field.node.guides.field_hcd_glossary
- field.field.node.guides.field_kicker
- field.field.node.guides.field_page_weight
- field.field.node.guides.field_primary_image
Expand Down Expand Up @@ -45,6 +46,7 @@ hidden:
field_deck: true
field_featured_image: true
field_guide_weight: true
field_hcd_glossary: true
field_kicker: true
field_page_weight: true
field_primary_image: true
Expand Down
13 changes: 13 additions & 0 deletions config/sync/core.entity_view_mode.taxonomy_term.full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: cfeeb202-3c0c-4353-b8cb-f292a0732f15
langcode: en
status: true
dependencies:
module:
- taxonomy
_core:
default_config_hash: iukUENpf8CFvjZbGGacKX_Ges0-lU9z6zvsd32P6kbo
id: taxonomy_term.full
label: 'Taxonomy term page'
description: ''
targetEntityType: taxonomy_term
cache: true
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module:
serialization: 0
site_wrapper: 0
system: 0
taxonomy: 0
text: 0
token: 0
tome_base: 0
Expand Down
23 changes: 23 additions & 0 deletions config/sync/field.field.node.guides.field_hcd_glossary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 051af63b-df7a-49f4-8609-9600eb7ec67f
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_hcd_glossary
- node.type.guides
id: node.guides.field_hcd_glossary
field_name: field_hcd_glossary
entity_type: node
bundle: guides
label: 'HCD Glossary'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_vocabulary'
handler_settings:
target_bundles: null
auto_create: false
field_type: entity_reference
20 changes: 20 additions & 0 deletions config/sync/field.storage.node.field_hcd_glossary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 582cdc00-7855-441f-b6f4-6b0efe4f403d
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_hcd_glossary
field_name: field_hcd_glossary
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_vocabulary
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
13 changes: 13 additions & 0 deletions config/sync/system.action.taxonomy_term_publish_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 09b21e7b-a00c-4f01-9e93-f9fc334b2fd6
langcode: en
status: true
dependencies:
module:
- taxonomy
_core:
default_config_hash: DoVt_VGgVLcDD4XmVbSFzr0K17SJy9imFiYusKkJBgY
id: taxonomy_term_publish_action
label: 'Publish taxonomy term'
type: taxonomy_term
plugin: 'entity:publish_action:taxonomy_term'
configuration: { }
13 changes: 13 additions & 0 deletions config/sync/system.action.taxonomy_term_unpublish_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 9e0bb38d-ce66-4638-96cf-bef9b9b27d7e
langcode: en
status: true
dependencies:
module:
- taxonomy
_core:
default_config_hash: z2sNRM3ECa7FPCGnSNje_9SmZJQgwhD_6fG_L4Mr8zI
id: taxonomy_term_unpublish_action
label: 'Unpublish taxonomy term'
type: taxonomy_term
plugin: 'entity:unpublish_action:taxonomy_term'
configuration: { }
5 changes: 5 additions & 0 deletions config/sync/taxonomy.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_core:
default_config_hash: zKpaWT6cJc1tVQQaTqatGELaCqU_oyRym6zTl27Yias
maintain_index_table: true
override_selector: false
terms_per_page_admin: 100
25 changes: 25 additions & 0 deletions config/sync/taxonomy.vocabulary.hcd_glossary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 36957310-278d-4c95-9afc-a3fb1be7937c
langcode: en
status: true
dependencies:
module:
- scheduler
third_party_settings:
scheduler:
expand_fieldset: when_required
fields_display_mode: vertical_tab
publish_enable: false
publish_past_date: error
publish_past_date_created: false
publish_required: false
publish_revision: false
publish_touch: false
show_message_after_update: true
unpublish_enable: false
unpublish_required: false
unpublish_revision: false
name: 'HCD Glossary'
vid: hcd_glossary
description: 'Glossary for HCD Guide'
weight: 0
new_revision: false
Loading
Loading