Skip to content

Commit

Permalink
Add "task" & "project" c.types for task list app
Browse files Browse the repository at this point in the history
  • Loading branch information
ashabed committed Jun 26, 2020
1 parent e32d104 commit f2e98c9
Show file tree
Hide file tree
Showing 21 changed files with 169 additions and 250 deletions.
2 changes: 1 addition & 1 deletion config/sync/core.base_field_override.node.page.promote.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uuid: bb4aaaa6-f48e-4416-b580-f22545ce23f9
uuid: 475d70bd-52f5-41fe-8555-f653d1ff8687
langcode: en
status: true
dependencies:
Expand Down
120 changes: 35 additions & 85 deletions config/sync/core.entity_form_display.node.article.default.yml
Original file line number Diff line number Diff line change
@@ -1,69 +1,20 @@
uuid: e84973b4-d635-4b75-b280-358ff456b999
uuid: 165f9762-a9f4-4f33-8a38-9e3e81e7c292
langcode: en
status: true
dependencies:
config:
- field.field.node.article.body
- field.field.node.article.field_image
- field.field.node.article.field_overlay_color
- field.field.node.article.field_related_post
- field.field.node.article.field_resume
- field.field.node.article.field_media_image
- field.field.node.article.field_tags
- node.type.article
- workflows.workflow.editorial
module:
- field_group
- content_moderation
- media_library
- path
- text
third_party_settings:
field_group:
group_tabs:
children:
- group_basic_information
- group_content
parent_name: ''
weight: 0
format_type: tabs
format_settings:
label: Tabs
direction: horizontal
id: ''
classes: ''
label: Tabs
group_basic_information:
children:
- title
- field_resume
- field_image
- field_media_image
- field_overlay_color
parent_name: group_tabs
weight: 8
format_type: tab
format_settings:
id: ''
classes: ''
formatter: closed
description: ''
required_fields: true
label: 'Basic Information'
group_content:
children:
- body
- field_tags
- field_related_post
parent_name: group_tabs
weight: 9
format_type: tab
format_settings:
id: ''
classes: ''
formatter: closed
description: ''
required_fields: true
label: Content
_core:
default_config_hash: EDa9F7OBTUXChyY-jsflO-yugT0u9kXfP0gAQbdA0WE
default_config_hash: pWg02jgalVF5Sp_Ao8zeuq6MYWslFm4rIojl0gZsXas
id: node.article.default
targetEntityType: node
bundle: article
Expand All @@ -77,92 +28,91 @@ content:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 2
weight: 7
region: content
settings: { }
third_party_settings: { }
field_image:
type: media_library_widget
weight: 11
settings: { }
field_media_image:
weight: 5
settings:
media_types: { }
third_party_settings: { }
type: media_library_widget
region: content
field_overlay_color:
type: options_select
weight: 13
region: content
settings: { }
third_party_settings: { }
field_related_post:
type: entity_reference_autocomplete
field_tags:
type: entity_reference_autocomplete_tags
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_resume:
type: string_textfield
weight: 10
langcode:
type: language_select
weight: 2
region: content
settings:
size: 60
placeholder: ''
include_locked: true
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
weight: 2
moderation_state:
type: moderation_state_default
weight: 12
region: content
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
settings: { }
third_party_settings: { }
path:
type: path
weight: 6
weight: 10
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 4
weight: 8
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 7
weight: 11
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 5
weight: 9
region: content
third_party_settings: { }
title:
type: string_textfield
weight: 9
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 13
region: content
settings: { }
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 1
weight: 6
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
Expand Down
42 changes: 28 additions & 14 deletions config/sync/core.entity_form_display.node.page.default.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,76 @@
uuid: bb280ef0-68a1-4c97-ac20-6edd5f343eee
uuid: 18b2e6c3-6918-4e58-944a-a073cf8c85d0
langcode: en
status: true
dependencies:
config:
- field.field.node.page.body
- field.field.node.page.field_image
- node.type.page
- workflows.workflow.editorial
module:
- media_library
- content_moderation
- path
- text
_core:
default_config_hash: Jujj1tVVzORjYAlMpCcuomle34ZSZuP-zbWMzNi3rFw
default_config_hash: 8Rpg4iUQQMbm4Q_A8AoN_xJT-fD6JnWQ5Uh5v_9daXE
id: node.page.default
targetEntityType: node
bundle: page
mode: default
content:
body:
type: text_textarea_with_summary
weight: 1
weight: 6
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 4
weight: 2
region: content
settings: { }
third_party_settings: { }
field_image:
langcode:
type: language_select
weight: 2
settings: { }
region: content
settings:
include_locked: true
third_party_settings: { }
type: media_library_widget
moderation_state:
type: moderation_state_default
weight: 8
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 7
weight: 5
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 5
weight: 3
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 8
weight: 7
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 6
weight: 4
region: content
third_party_settings: { }
title:
Expand All @@ -73,12 +81,18 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 10
settings: { }
third_party_settings: { }
region: content
uid:
type: entity_reference_autocomplete
weight: 3
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
Expand Down
Loading

0 comments on commit f2e98c9

Please sign in to comment.