CT collection done

This commit is contained in:
Bachir Soussi Chiadmi 2021-03-23 17:05:20 +01:00
parent c7b8f51940
commit 8ee05cb593
5 changed files with 116 additions and 41 deletions

View File

@ -4,10 +4,70 @@ status: true
dependencies:
config:
- field.field.node.collection.body
- field.field.node.collection.field_ressources_liees
- node.type.collection
module:
- path
- field_group
- text
third_party_settings:
field_group:
group_tabs:
children:
- group_principal
- group_ressources
parent_name: ''
weight: 20
format_type: tabs
region: content
format_settings:
direction: horizontal
id: ''
classes: ''
label: Tabs
group_principal:
children:
- body
parent_name: group_tabs
weight: 20
format_type: tab
region: content
format_settings:
id: ''
classes: ''
description: ''
formatter: open
required_fields: true
label: Principal
group_ressources:
children:
- field_ressources_liees
parent_name: group_tabs
weight: 20
format_type: tab
region: content
format_settings:
id: ''
classes: ''
description: ''
formatter: closed
required_fields: true
label: Ressources
group_details:
children:
- promote
- status
parent_name: ''
weight: 20
format_type: details_sidebar
region: content
format_settings:
id: ''
classes: ''
description: ''
open: true
required_fields: true
weight: 0
label: Details
id: node.collection.default
targetEntityType: node
bundle: collection
@ -23,25 +83,16 @@ content:
show_summary: false
third_party_settings: { }
region: content
created:
type: datetime_timestamp
weight: 10
region: content
settings: { }
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
field_ressources_liees:
weight: 122
settings:
include_locked: true
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
type: entity_reference_autocomplete
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
@ -56,13 +107,6 @@ content:
weight: 120
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 16
region: content
third_party_settings: { }
title:
type: string_textfield
weight: -5
@ -71,19 +115,10 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
match_limit: 10
region: content
third_party_settings: { }
url_redirects:
weight: 50
settings: { }
third_party_settings: { }
region: content
hidden: { }
hidden:
created: true
langcode: true
path: true
sticky: true
uid: true
url_redirects: true

View File

@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.node.collection.body
- field.field.node.collection.field_ressources_liees
- node.type.collection
module:
- text
@ -20,6 +21,14 @@ content:
settings: { }
third_party_settings: { }
region: content
field_ressources_liees:
weight: 102
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
links:
weight: 100
settings: { }

View File

@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.collection.body
- field.field.node.collection.field_ressources_liees
- node.type.collection
module:
- text
@ -28,5 +29,6 @@ content:
third_party_settings: { }
region: content
hidden:
field_ressources_liees: true
langcode: true
search_api_excerpt: true

View File

@ -11,7 +11,7 @@ id: node.collection.body
field_name: body
entity_type: node
bundle: collection
label: Body
label: Texte
description: ''
required: false
translatable: true

View File

@ -0,0 +1,29 @@
uuid: 9ef62114-82d2-43b9-963c-c7cfdbfcb62e
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_ressources_liees
- node.type.collection
- node.type.ressource
id: node.collection.field_ressources_liees
field_name: field_ressources_liees
entity_type: node
bundle: collection
label: Ressources
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
ressource: ressource
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference