Skip to content

Commit

Permalink
Added 6 articles.
Browse files Browse the repository at this point in the history
  • Loading branch information
simesy committed Nov 21, 2024
1 parent 4b9964c commit 830b7d9
Show file tree
Hide file tree
Showing 20 changed files with 196 additions and 136 deletions.
5 changes: 5 additions & 0 deletions .ddev/commands/host/save
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# Any site building changes should be captured.
ddev drush cex -y

# Trim unneeded table data.
echo "Removing cache data."
ddev drush sqlq " \
TRUNCATE cache_access_policy; \
Expand All @@ -17,6 +21,7 @@ ddev drush sqlq " \
TRUNCATE sessions; \
"

# Store the database on disc while it is small.
ddev export-db --file=_db_main.sql.gz

# So we can keep working.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified _db_main.sql.gz
Binary file not shown.
3 changes: 0 additions & 3 deletions config/sync/admin_toolbar.settings.yml

This file was deleted.

3 changes: 0 additions & 3 deletions config/sync/admin_toolbar_search.settings.yml

This file was deleted.

5 changes: 0 additions & 5 deletions config/sync/admin_toolbar_tools.settings.yml

This file was deleted.

65 changes: 38 additions & 27 deletions config/sync/core.entity_form_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.article.article_type
- field.field.node.article.duration
- field.field.node.article.hero
- field.field.node.article.lead
- field.field.node.article.markup
- field.field.node.article.media_video
- field.field.node.article.tags
- field.field.node.article.youtube
- node.type.article
module:
- field_group
Expand All @@ -22,6 +21,7 @@ third_party_settings:
children:
- group_content
- group_media
- group_meta
label: 'Form tabs'
region: content
parent_name: ''
Expand All @@ -35,6 +35,7 @@ third_party_settings:
width_breakpoint: 640
group_media:
children:
- youtube
- hero
label: Media
region: content
Expand All @@ -52,7 +53,6 @@ third_party_settings:
children:
- lead
- markup
- tags
label: Content
region: content
parent_name: group_tabs
Expand All @@ -65,36 +65,47 @@ third_party_settings:
formatter: open
description: ''
required_fields: true
group_meta:
children:
- tags
- duration
label: Meta
region: hidden
parent_name: group_tabs
weight: 11
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: false
_core:
default_config_hash: ewbd6G2uX456-bgwseM2Q-KQG3RkASoyHmTh-XR3oLU
id: node.article.default
targetEntityType: node
bundle: article
mode: default
content:
article_type:
type: options_select
weight: 51
region: content
settings: { }
third_party_settings: { }
created:
type: datetime_timestamp
weight: 5
weight: 3
region: content
settings: { }
third_party_settings: { }
duration:
type: string_textfield
weight: 53
weight: 6
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hero:
type: media_library_widget
weight: 2
weight: 6
region: content
settings:
media_types: { }
Expand All @@ -104,7 +115,7 @@ content:
weight: 3
region: content
settings:
rows: 5
rows: 3
placeholder: ''
third_party_settings: { }
markup:
Expand All @@ -115,41 +126,34 @@ content:
rows: 5
placeholder: ''
third_party_settings: { }
media_video:
type: media_library_widget
weight: 52
region: content
settings:
media_types: { }
third_party_settings: { }
path:
type: path
weight: 9
weight: 8
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 7
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
simple_sitemap:
weight: 6
weight: 4
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 10
weight: 9
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 8
weight: 7
region: content
settings:
display_label: true
Expand All @@ -174,7 +178,7 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 4
weight: 2
region: content
settings:
match_operator: CONTAINS
Expand All @@ -183,8 +187,15 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
weight: 10
region: content
settings: { }
third_party_settings: { }
youtube:
type: media_library_widget
weight: 5
region: content
settings:
media_types: { }
third_party_settings: { }
hidden: { }
29 changes: 10 additions & 19 deletions config/sync/core.entity_view_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.article.article_type
- field.field.node.article.duration
- field.field.node.article.hero
- field.field.node.article.lead
- field.field.node.article.markup
- field.field.node.article.media_video
- field.field.node.article.tags
- field.field.node.article.youtube
- node.type.article
module:
- options
- text
- user
_core:
Expand All @@ -22,13 +20,6 @@ targetEntityType: node
bundle: article
mode: default
content:
article_type:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
duration:
type: string
label: above
Expand All @@ -51,15 +42,6 @@ content:
third_party_settings: { }
weight: 1
region: content
media_video:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
weight: 4
region: content
tags:
type: entity_reference_label
label: above
Expand All @@ -68,6 +50,15 @@ content:
third_party_settings: { }
weight: 2
region: content
youtube:
type: entity_reference_entity_view
label: above
settings:
view_mode: default
link: false
third_party_settings: { }
weight: 6
region: content
hidden:
hero: true
links: true
Expand Down
6 changes: 2 additions & 4 deletions config/sync/core.entity_view_display.node.article.rss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ status: false
dependencies:
config:
- core.entity_view_mode.node.rss
- field.field.node.article.article_type
- field.field.node.article.duration
- field.field.node.article.hero
- field.field.node.article.lead
- field.field.node.article.markup
- field.field.node.article.media_video
- field.field.node.article.tags
- field.field.node.article.youtube
- node.type.article
module:
- user
Expand All @@ -25,11 +24,10 @@ content:
weight: 100
region: content
hidden:
article_type: true
duration: true
hero: true
lead: true
markup: true
media_video: true
search_api_excerpt: true
tags: true
youtube: true
6 changes: 2 additions & 4 deletions config/sync/core.entity_view_display.node.article.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.article.article_type
- field.field.node.article.duration
- field.field.node.article.hero
- field.field.node.article.lead
- field.field.node.article.markup
- field.field.node.article.media_video
- field.field.node.article.tags
- field.field.node.article.youtube
- node.type.article
module:
- field_label
Expand Down Expand Up @@ -42,10 +41,9 @@ content:
weight: 0
region: content
hidden:
article_type: true
duration: true
links: true
markup: true
media_video: true
search_api_excerpt: true
tags: true
youtube: true
5 changes: 0 additions & 5 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
_core:
default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc
module:
admin_toolbar: 0
admin_toolbar_links_access_filter: 0
admin_toolbar_search: 0
admin_toolbar_tools: 0
big_pipe: 0
block: 0
block_content: 0
breakpoint: 0
Expand Down
23 changes: 0 additions & 23 deletions config/sync/field.field.node.article.article_type.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
uuid: 77876924-48e7-48db-b0fc-c2ffd95dccb6
uuid: 575c41f7-8d8e-4334-b9cc-5a3fce03b019
langcode: en
status: true
dependencies:
config:
- field.storage.node.media_video
- field.storage.node.youtube
- media.type.stream
- node.type.article
id: node.article.media_video
field_name: media_video
id: node.article.youtube
field_name: youtube
entity_type: node
bundle: article
label: 'Media video'
label: Youtube
description: ''
required: false
translatable: false
Expand Down
Loading

0 comments on commit 830b7d9

Please sign in to comment.