partenaires contenu type

This commit is contained in:
Bachir Soussi Chiadmi 2024-11-05 15:41:05 +01:00
parent 14893a9c28
commit de59f46f5a
16 changed files with 516 additions and 19 deletions

View File

@ -0,0 +1,22 @@
uuid: ff7856c2-9f90-431a-bc17-e1dee92998cd
langcode: fr
status: true
dependencies:
config:
- node.type.partenaire
id: node.partenaire.promote
field_name: promote
entity_type: node
bundle: partenaire
label: "Promu en page d'accueil"
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: Activé
off_label: Désactivé
field_type: boolean

View File

@ -0,0 +1,168 @@
uuid: ccdbf66a-e457-4c55-aa44-cbf9320d1a80
langcode: fr
status: true
dependencies:
config:
- field.field.node.partenaire.body
- field.field.node.partenaire.field_lien
- field.field.node.partenaire.field_logo
- field.field.node.partenaire.field_poid
- image.style.thumbnail
- node.type.partenaire
module:
- field_group
- image
- link
- text
third_party_settings:
field_group:
group_tabs:
children:
- group_texte
- group_lien
- group_logo
label: Tabs
region: content
parent_name: ''
weight: 1
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
direction: horizontal
width_breakpoint: 640
group_details:
children:
- field_poid
- status
- langcode
label: Details
region: content
parent_name: ''
weight: 6
format_type: details_sidebar
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: true
weight: -100
group_texte:
children:
- body
label: Texte
region: content
parent_name: group_tabs
weight: 20
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_lien:
children:
- field_lien
label: Lien
region: content
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
group_logo:
children:
- field_logo
label: Logo
region: content
parent_name: group_tabs
weight: 22
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
formatter: closed
description: ''
required_fields: true
id: node.partenaire.default
targetEntityType: node
bundle: partenaire
mode: default
content:
body:
type: text_textarea_with_summary
weight: 3
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
field_lien:
type: link_default
weight: 4
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_logo:
type: image_image
weight: 5
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_poid:
type: number
weight: 12
region: content
settings:
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 14
region: content
settings:
include_locked: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 13
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
path: true
promote: true
sticky: true
uid: true

View File

@ -0,0 +1,68 @@
uuid: 9dce0b05-0136-4559-a7a1-88de544b69bb
langcode: fr
status: true
dependencies:
config:
- field.field.node.partenaire.body
- field.field.node.partenaire.field_lien
- field.field.node.partenaire.field_logo
- field.field.node.partenaire.field_poid
- node.type.partenaire
module:
- image
- link
- text
- user
id: node.partenaire.default
targetEntityType: node
bundle: partenaire
mode: default
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 101
region: content
field_lien:
type: link
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 102
region: content
field_logo:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 103
region: content
field_poid:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 104
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
footnotes_group: true
langcode: true
search_api_excerpt: true

View File

@ -0,0 +1,39 @@
uuid: c327b30d-de29-42e5-8f97-4ff691c2b8b1
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.partenaire.body
- field.field.node.partenaire.field_lien
- field.field.node.partenaire.field_logo
- field.field.node.partenaire.field_poid
- node.type.partenaire
module:
- text
- user
id: node.partenaire.teaser
targetEntityType: node
bundle: partenaire
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 101
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
hidden:
field_lien: true
field_logo: true
field_poid: true
footnotes_group: true
langcode: true
search_api_excerpt: true

View File

@ -0,0 +1,24 @@
uuid: e3dbc022-9c99-46c2-a3ff-7fb1ef23398a
langcode: fr
status: true
dependencies:
config:
- field.storage.node.body
- node.type.partenaire
module:
- text
id: node.partenaire.body
field_name: body
entity_type: node
bundle: partenaire
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary

View File

@ -0,0 +1,23 @@
uuid: cc07413f-fee9-4956-a982-450eaf619bd8
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_lien
- node.type.partenaire
module:
- link
id: node.partenaire.field_lien
field_name: field_lien
entity_type: node
bundle: partenaire
label: Lien
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 1
link_type: 17
field_type: link

View File

@ -0,0 +1,41 @@
uuid: 2a26fa4a-16f8-41e5-851c-8fb92604c38a
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_logo
- node.type.partenaire
module:
- image
id: node.partenaire.field_logo
field_name: field_logo
entity_type: node
bundle: partenaire
label: Logo
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg webp'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
caption_field: 0
caption_field_required: 0
field_type: image

View File

@ -0,0 +1,25 @@
uuid: 545b0a77-0139-468e-b882-105b165065c9
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_poid
- node.type.partenaire
id: node.partenaire.field_poid
field_name: field_poid
entity_type: node
bundle: partenaire
label: Poid
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
min: -20
max: 20
prefix: ''
suffix: ''
field_type: integer

View File

@ -0,0 +1,19 @@
uuid: 89c178d2-1129-49ce-a5be-af5d56c80f25
langcode: fr
status: true
dependencies:
module:
- link
- node
id: node.field_lien
field_name: field_lien
entity_type: node
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,30 @@
uuid: 001d725f-a9c0-43f9-91f6-cfbe6d210cef
langcode: fr
status: true
dependencies:
module:
- file
- image
- node
id: node.field_logo
field_name: field_logo
entity_type: node
type: image
settings:
target_type: file
display_field: false
display_default: false
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,20 @@
uuid: c40e79f3-18de-41c2-a2f6-563d379fc799
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_poid
field_name: field_poid
entity_type: node
type: integer
settings:
unsigned: false
size: normal
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,11 @@
uuid: ebcdeab0-693f-478c-b970-6cade5d2e124
langcode: fr
status: true
dependencies:
config:
- node.type.partenaire
id: node.partenaire
target_entity_type_id: node
target_bundle: partenaire
default_langcode: site_default
language_alterable: false

View File

@ -0,0 +1,18 @@
uuid: 3a2701d9-4f1f-48f8-af75-7d4b87e63015
langcode: fr
status: true
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus:
- main
parent: 'main:'
name: Partenaire
type: partenaire
description: null
help: null
new_revision: true
preview_mode: 0
display_submitted: false

View File

@ -1,18 +0,0 @@
uuid: f904b753-75c5-477e-bd9c-7259f9bfdf9b
langcode: fr
status: false
dependencies:
module:
- path_alias
- serialization
- user
id: entity.path_alias
plugin_id: 'entity:path_alias'
granularity: resource
configuration:
methods:
- GET
formats:
- json
authentication:
- cookie

View File

@ -8,6 +8,7 @@ dependencies:
- filter.format.wysiwyg - filter.format.wysiwyg
- node.type.etape - node.type.etape
- node.type.gallerie_photo - node.type.gallerie_photo
- node.type.partenaire
- node.type.static - node.type.static
- taxonomy.vocabulary.saisons - taxonomy.vocabulary.saisons
- taxonomy.vocabulary.thematiques - taxonomy.vocabulary.thematiques
@ -33,27 +34,33 @@ permissions:
- 'change own username' - 'change own username'
- 'create etape content' - 'create etape content'
- 'create gallerie_photo content' - 'create gallerie_photo content'
- 'create partenaire content'
- 'create terms in saisons' - 'create terms in saisons'
- 'create terms in thematiques' - 'create terms in thematiques'
- 'delete etape revisions' - 'delete etape revisions'
- 'delete gallerie_photo revisions' - 'delete gallerie_photo revisions'
- 'delete partenaire revisions'
- 'delete static revisions' - 'delete static revisions'
- 'delete terms in saisons' - 'delete terms in saisons'
- 'delete terms in thematiques' - 'delete terms in thematiques'
- 'edit any etape content' - 'edit any etape content'
- 'edit any gallerie_photo content' - 'edit any gallerie_photo content'
- 'edit any partenaire content'
- 'edit any static content' - 'edit any static content'
- 'edit own partenaire content'
- 'edit own static content' - 'edit own static content'
- 'edit terms in saisons' - 'edit terms in saisons'
- 'edit terms in thematiques' - 'edit terms in thematiques'
- 'revert etape revisions' - 'revert etape revisions'
- 'revert gallerie_photo revisions' - 'revert gallerie_photo revisions'
- 'revert partenaire revisions'
- 'revert static revisions' - 'revert static revisions'
- 'use text format footnote' - 'use text format footnote'
- 'use text format simple' - 'use text format simple'
- 'use text format wysiwyg' - 'use text format wysiwyg'
- 'view etape revisions' - 'view etape revisions'
- 'view gallerie_photo revisions' - 'view gallerie_photo revisions'
- 'view partenaire revisions'
- 'view static revisions' - 'view static revisions'
- 'view the administration theme' - 'view the administration theme'
- 'view unpublished paragraphs' - 'view unpublished paragraphs'

View File

@ -269,7 +269,7 @@ display:
popupAnchor: popupAnchor:
x: '' x: ''
'y': '' 'y': ''
html: "<div></div>\r\n<div></div>\r\n<div></div>\r\n<div class=\"url\">[node:url]</div>\r\n<div class=\"couleur\">[node:field_couleur]</div>" html: "<div></div>\r\n<div></div>\r\n<div></div>\r\n<div class=\"nid\">{{ nid }}</div>\r\n<div class=\"couleur\">{{ field_couleur }}</div>"
html_class: 'leaflet-map-divicon ' html_class: 'leaflet-map-divicon '
circle_marker_options: '{"radius":100,"color":"red","fillColor":"#f03","fillOpacity":0.5}' circle_marker_options: '{"radius":100,"color":"red","fillColor":"#f03","fillOpacity":0.5}'
leaflet_markercluster: leaflet_markercluster: