Skip to content

Commit

Permalink
1145: Drupal config
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Apr 16, 2024
1 parent 5d31bca commit fc20703
Show file tree
Hide file tree
Showing 36 changed files with 352 additions and 560 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,16 @@ status: true
dependencies:
config:
- block_content.type.aside_link_box
- field.field.block_content.aside_link_box.body
- field.field.block_content.aside_link_box.field_color
- field.field.block_content.aside_link_box.field_link
- field.field.block_content.aside_link_box.field_title
module:
- allowed_formats
- link
- maxlength
- text
id: block_content.aside_link_box.default
targetEntityType: block_content
bundle: aside_link_box
mode: default
content:
body:
type: text_textarea_with_summary
weight: 2
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_summary: null
maxlength_js_label_summary: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
field_color:
type: options_select
weight: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- entity_browser.browser.itk_image_browser
- field.field.node.project_main_page.field_area
- field.field.node.project_main_page.field_content_sections
- field.field.node.project_main_page.field_project_category
- field.field.node.project_main_page.field_project_image
- field.field.node.project_main_page.field_short_description
- node.type.project_main_page
Expand All @@ -26,7 +27,7 @@ third_party_settings:
label: 'Project area'
region: content
parent_name: ''
weight: 5
weight: 4
format_type: details_sidebar
format_settings:
classes: ''
Expand All @@ -43,7 +44,7 @@ mode: default
content:
created:
type: datetime_timestamp
weight: 10
weight: 8
region: content
settings: { }
third_party_settings: { }
Expand All @@ -55,7 +56,7 @@ content:
third_party_settings: { }
field_content_sections:
type: paragraphs
weight: 7
weight: 5
region: content
settings:
title: Paragraph
Expand All @@ -73,9 +74,19 @@ content:
convert: '0'
duplicate: duplicate
third_party_settings: { }
field_project_category:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 100
placeholder: ''
third_party_settings: { }
field_project_image:
type: entity_browser_entity_reference
weight: 2
weight: 3
region: content
settings:
entity_browser: itk_image_browser
Expand All @@ -90,7 +101,7 @@ content:
third_party_settings: { }
field_short_description:
type: text_textarea
weight: 1
weight: 2
region: content
settings:
rows: 5
Expand All @@ -105,40 +116,40 @@ content:
maxlength_js_enforce: false
langcode:
type: language_select
weight: 8
weight: 6
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 14
weight: 12
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 12
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
published_at:
type: publication_date_timestamp
weight: 11
weight: 9
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 16
weight: 14
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 13
weight: 11
region: content
settings:
display_label: true
Expand All @@ -157,7 +168,7 @@ content:
maxlength_js_enforce: false
uid:
type: entity_reference_autocomplete
weight: 9
weight: 7
region: content
settings:
match_operator: CONTAINS
Expand All @@ -166,7 +177,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 15
weight: 13
region: content
settings: { }
third_party_settings: { }
Expand Down
62 changes: 34 additions & 28 deletions config/sync/core.entity_form_display.node.project_page.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,104 +3,110 @@ langcode: da
status: true
dependencies:
config:
- field.field.node.project_page.body
- field.field.node.project_page.field_content_sections
- field.field.node.project_page.field_project_category
- node.type.project_page
module:
- maxlength
- paragraphs
- path
- publication_date
- text
id: node.project_page.default
targetEntityType: node
bundle: project_page
mode: default
content:
body:
type: text_textarea_with_summary
weight: 121
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
weight: 5
region: content
settings: { }
third_party_settings: { }
field_content_sections:
type: paragraphs
weight: 7
weight: 2
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: open
edit_mode: closed_expand_nested
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
add_mode: modal
form_display_mode: default
default_paragraph_type: ''
default_paragraph_type: _none
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings: { }
field_project_category:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 100
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
weight: 3
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
weight: 9
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
published_at:
type: publication_date_timestamp
weight: 10
weight: 6
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
weight: 11
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
size: 100
placeholder: ''
third_party_settings: { }
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
uid:
type: entity_reference_autocomplete
weight: 5
weight: 4
region: content
settings:
match_operator: CONTAINS
Expand All @@ -109,7 +115,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
weight: 10
region: content
settings: { }
third_party_settings: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,72 +3,32 @@ langcode: da
status: true
dependencies:
config:
- field.field.paragraph.teaser_row.field_content
- field.field.paragraph.teaser_row.field_paragraph_title
- field.field.paragraph.teaser_row.field_project_hearing_1
- field.field.paragraph.teaser_row.field_project_hearing_2
- field.field.paragraph.teaser_row.field_project_hearing_3
- field.field.paragraph.teaser_row.field_static_pages
- field.field.paragraph.teaser_row.field_type
- paragraphs.paragraphs_type.teaser_row
id: paragraph.teaser_row.default
targetEntityType: paragraph
bundle: teaser_row
mode: default
content:
field_paragraph_title:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_project_hearing_1:
type: entity_reference_autocomplete_tags
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_project_hearing_2:
type: entity_reference_autocomplete_tags
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_project_hearing_3:
type: entity_reference_autocomplete_tags
weight: 4
field_content:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_static_pages:
type: entity_reference_autocomplete
weight: 5
field_paragraph_title:
type: string_textfield
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_type:
type: options_buttons
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
created: true
status: true
Expand Down
Loading

0 comments on commit fc20703

Please sign in to comment.