Skip to content

Commit

Permalink
Merge pull request #886 from UN-OCHA/berliner/HPC-9308
Browse files Browse the repository at this point in the history
HPC-9308: Remove chapter/section coming from CM. This is replaced by full document-chapter integration where articles are manually added to document chapters instead of marking an article to be long to a single chapter.
  • Loading branch information
berliner authored Jan 16, 2024
2 parents 0974a9a + 4b6f818 commit 3dc8893
Show file tree
Hide file tree
Showing 63 changed files with 68 additions and 154 deletions.
9 changes: 0 additions & 9 deletions config/core.entity_form_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ status: true
dependencies:
config:
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -117,14 +116,6 @@ content:
disable_drag_and_drop: 0
wrapper: 0
third_party_settings: { }
field_chapter:
type: string_textfield
weight: 12
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_display_hero_image:
type: boolean_checkbox
weight: 30
Expand Down
1 change: 1 addition & 0 deletions config/core.entity_form_mode.media.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ _core:
default_config_hash: pkq0uj-IoqEQRBOP_ddUDV0ZJ-dKQ_fLcppsEDF2UO8
id: media.media_library
label: 'Media library'
description: ''
targetEntityType: media
cache: true
1 change: 1 addition & 0 deletions config/core.entity_form_mode.user.register.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: flXhTcp55yLcyy7ZLOhPGKGZobZQJdkAFVWV3LseiuI
id: user.register
label: Register
description: ''
targetEntityType: user
cache: true
2 changes: 0 additions & 2 deletions config/core.entity_view_display.node.article.card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dependencies:
config:
- core.entity_view_mode.node.card
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -89,7 +88,6 @@ content:
region: content
hidden:
field_base_objects: true
field_chapter: true
field_display_hero_image: true
field_inherit_section_image: true
field_protected: true
Expand Down
2 changes: 0 additions & 2 deletions config/core.entity_view_display.node.article.card_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dependencies:
config:
- core.entity_view_mode.node.card_summary
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -103,7 +102,6 @@ content:
region: content
hidden:
field_base_objects: true
field_chapter: true
field_display_hero_image: true
field_inherit_section_image: true
field_protected: true
Expand Down
9 changes: 0 additions & 9 deletions config/core.entity_view_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ status: true
dependencies:
config:
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -111,14 +110,6 @@ content:
third_party_settings: { }
weight: 5
region: content
field_chapter:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 7
region: content
field_display_hero_image:
type: boolean
label: above
Expand Down
9 changes: 0 additions & 9 deletions config/core.entity_view_display.node.article.grid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dependencies:
config:
- core.entity_view_mode.node.grid
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -71,14 +70,6 @@ targetEntityType: node
bundle: article
mode: grid
content:
field_chapter:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 2
region: content
field_image:
type: config_default_responsive_image
label: hidden
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dependencies:
config:
- core.entity_view_mode.node.password_protected
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -95,7 +94,6 @@ content:
region: content
hidden:
field_base_objects: true
field_chapter: true
field_display_hero_image: true
field_image: true
field_inherit_section_image: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dependencies:
config:
- core.entity_view_mode.node.search_result
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -116,7 +115,6 @@ content:
region: content
hidden:
field_base_objects: true
field_chapter: true
field_display_hero_image: true
field_inherit_section_image: true
field_protected: true
Expand Down
2 changes: 0 additions & 2 deletions config/core.entity_view_display.node.article.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.article.field_base_objects
- field.field.node.article.field_chapter
- field.field.node.article.field_display_hero_image
- field.field.node.article.field_image
- field.field.node.article.field_inherit_section_image
Expand Down Expand Up @@ -46,7 +45,6 @@ content:
region: content
hidden:
field_base_objects: true
field_chapter: true
field_display_hero_image: true
field_inherit_section_image: true
field_protected: true
Expand Down
1 change: 1 addition & 0 deletions config/core.entity_view_mode.block.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- block
id: block.token
label: Token
description: ''
targetEntityType: block
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.block_content.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: 4tedlMuvQjDOdvHdw86_e-2Rt78aR7TGFMfOK8Ejppg
id: block_content.full
label: Full
description: ''
targetEntityType: block_content
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.block_content.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- block_content
id: block_content.token
label: Token
description: ''
targetEntityType: block_content
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.file.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- file
id: file.full
label: Full
description: ''
targetEntityType: file
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.file.preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- file
id: file.preview
label: preview
description: ''
targetEntityType: file
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.file.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- file
id: file.teaser
label: Teaser
description: ''
targetEntityType: file
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.file.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- file
id: file.token
label: Token
description: ''
targetEntityType: file
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.media.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: 6NBUEuGmlkClK8Fb76tSMMpO2eZ4LWCBdbUk4z7CuP0
id: media.full
label: 'Full content'
description: ''
targetEntityType: media
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.media.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ _core:
default_config_hash: pkq0uj-IoqEQRBOP_ddUDV0ZJ-dKQ_fLcppsEDF2UO8
id: media.media_library
label: 'Media library'
description: ''
targetEntityType: media
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.media.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- media
id: media.token
label: Token
description: ''
targetEntityType: media
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.menu_link_content.classic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- menu_link_content
id: menu_link_content.classic
label: Classic
description: ''
targetEntityType: menu_link_content
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.menu_link_content.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- menu_link_content
id: menu_link_content.token
label: Token
description: ''
targetEntityType: menu_link_content
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- node
id: node.card
label: Card
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.card_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- node
id: node.card_summary
label: 'Card summary'
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.featured.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- node
id: node.featured
label: featured
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: ElrtInxGjZd7GaapJ5O9n-ugi2hG2IxFivtgn0tHOsk
id: node.full
label: Full
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.grid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- node
id: node.grid
label: Grid
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.password_protected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: GMDzpe1qa2qjyR_E000ooKi9cgN1yOZIAh27xQ9fLXs
id: node.password_protected
label: 'Password protected'
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.rss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: vlYzr-rp2f9NMp-Qlr4sFjlqRq-90mco5-afLNGwCrU
id: node.rss
label: RSS
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.search_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: fVFfJv_GzBRE-wpRHbfD5a3VjnhbEOXG6lvRd3uaccY
id: node.search_index
label: 'Search index'
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.search_result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: 6GCOQ-jP2RbdbHA5YWQ6bT8CfGbqrBYKOSC_XY4E3ZM
id: node.search_result
label: 'Search result'
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.teaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: Mz9qWr1kUYK0mjRAGDsr5XS6PvtZ24en_7ndt-pyWe4
id: node.teaser
label: Teaser
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.node.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- node
id: node.token
label: Token
description: ''
targetEntityType: node
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.path_alias.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- path_alias
id: path_alias.token
label: Token
description: ''
targetEntityType: path_alias
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.taxonomy_term.featured.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- taxonomy
id: taxonomy_term.featured
label: featured
description: ''
targetEntityType: taxonomy_term
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.taxonomy_term.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: '-PPKjsNQPvoIDjOuUAvlLocYD976MNjb9Zpgyz5_BWE'
id: taxonomy_term.full
label: Full
description: ''
targetEntityType: taxonomy_term
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.taxonomy_term.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- taxonomy
id: taxonomy_term.token
label: Token
description: ''
targetEntityType: taxonomy_term
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.user.compact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: 71CSAr_LNPcgu6D6jI4INl1KATkahmeyUFBETAWya8g
id: user.compact
label: Compact
description: ''
targetEntityType: user
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.user.featured.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- user
id: user.featured
label: featured
description: ''
targetEntityType: user
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.user.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: mQIF_foYjmnVSr9MpcD4CTaJE_FpO1AyDd_DskztGhM
id: user.full
label: Full
description: ''
targetEntityType: user
cache: true
1 change: 1 addition & 0 deletions config/core.entity_view_mode.user.token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- user
id: user.token
label: Token
description: ''
targetEntityType: user
cache: true
6 changes: 4 additions & 2 deletions config/editor.editor.wysiwyg_text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ settings:
- sourceEditing
plugins:
ckeditor5_list:
reversed: true
startIndex: true
properties:
reversed: true
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags: { }
image_upload:
Expand Down
Loading

0 comments on commit 3dc8893

Please sign in to comment.