created creation content type

This commit is contained in:
2021-03-02 11:27:13 +01:00
parent b7f0f0bee4
commit bbf6a914ac
13 changed files with 335 additions and 2 deletions
@@ -0,0 +1,22 @@
uuid: e4d66a60-c023-45e7-a1e0-7dc103fb1109
langcode: fr
status: true
dependencies:
config:
- node.type.creation
id: node.creation.promote
field_name: promote
entity_type: node
bundle: creation
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
@@ -0,0 +1,86 @@
uuid: b49c3419-ffad-4a80-8e8e-526620056ee2
langcode: fr
status: true
dependencies:
config:
- field.field.node.creation.body
- field.field.node.creation.field_autheurs
- field.field.node.creation.field_oeuvre
- node.type.creation
module:
- field_group
- link
- text
third_party_settings:
field_group:
group_sidebar:
children:
- status
parent_name: ''
weight: -1
format_type: details_sidebar
region: content
format_settings:
id: ''
classes: ''
description: ''
open: true
required_fields: true
weight: 0
label: Sidebar
id: node.creation.default
targetEntityType: node
bundle: creation
mode: default
content:
body:
type: text_textarea_with_summary
weight: 2
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
region: content
field_autheurs:
weight: 0
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_oeuvre:
weight: 1
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: link_default
region: content
status:
type: boolean_checkbox
weight: 0
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
langcode: true
path: true
promote: true
sticky: true
uid: true
url_redirects: true
@@ -0,0 +1,53 @@
uuid: 390f1720-9c3c-4926-b9f7-e39873d67789
langcode: fr
status: true
dependencies:
config:
- field.field.node.creation.body
- field.field.node.creation.field_autheurs
- field.field.node.creation.field_oeuvre
- node.type.creation
module:
- link
- text
- user
id: node.creation.default
targetEntityType: node
bundle: creation
mode: default
content:
body:
label: hidden
type: text_default
weight: 101
settings: { }
third_party_settings: { }
region: content
field_autheurs:
weight: 102
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_oeuvre:
weight: 103
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
type: link
region: content
links:
weight: 100
settings: { }
third_party_settings: { }
region: content
hidden:
langcode: true
search_api_excerpt: true
@@ -0,0 +1,36 @@
uuid: ddf76d3a-51b8-4ddd-8f8b-56f6939a447e
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.creation.body
- field.field.node.creation.field_autheurs
- field.field.node.creation.field_oeuvre
- node.type.creation
module:
- text
- user
id: node.creation.teaser
targetEntityType: node
bundle: creation
mode: teaser
content:
body:
label: hidden
type: text_summary_or_trimmed
weight: 101
settings:
trim_length: 600
third_party_settings: { }
region: content
links:
weight: 100
settings: { }
third_party_settings: { }
region: content
hidden:
field_autheurs: true
field_oeuvre: true
langcode: true
search_api_excerpt: true
@@ -0,0 +1,23 @@
uuid: e930163a-6396-4873-a071-4732c7ee5bfe
langcode: fr
status: true
dependencies:
config:
- field.storage.node.body
- node.type.creation
module:
- text
id: node.creation.body
field_name: body
entity_type: node
bundle: creation
label: Descritpion
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
field_type: text_with_summary
@@ -0,0 +1,29 @@
uuid: 1e9955e5-f8a7-454f-83d9-01abda610c48
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_autheurs
- node.type.creation
- taxonomy.vocabulary.auteurs
id: node.creation.field_autheurs
field_name: field_autheurs
entity_type: node
bundle: creation
label: Autheur(s)
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
auteurs: auteurs
sort:
field: name
direction: asc
auto_create: true
auto_create_bundle: ''
field_type: entity_reference
@@ -0,0 +1,23 @@
uuid: 1b151dbf-30eb-4092-994c-8a8529c9b692
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_oeuvre
- node.type.creation
module:
- link
id: node.creation.field_oeuvre
field_name: field_oeuvre
entity_type: node
bundle: creation
label: œuvre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
link_type: 16
title: 0
field_type: link
@@ -0,0 +1,19 @@
uuid: e154b58a-eb12-4436-bb8b-71a79163d073
langcode: fr
status: true
dependencies:
module:
- link
- node
id: node.field_oeuvre
field_name: field_oeuvre
entity_type: node
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,11 @@
uuid: 651406a1-8355-43aa-9eb1-631c1c64e552
langcode: fr
status: true
dependencies:
config:
- node.type.creation
id: node.creation
target_entity_type_id: node
target_bundle: creation
default_langcode: site_default
language_alterable: false
+17
View File
@@ -0,0 +1,17 @@
uuid: e1785a6e-e8a4-4a81-b49b-ccfcec4f36a8
langcode: fr
status: true
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus: { }
parent: ''
name: Création
type: creation
description: ''
help: ''
new_revision: false
preview_mode: 1
display_submitted: false
+7
View File
@@ -22,6 +22,7 @@ permissions:
- 'change own username'
- 'create content translations'
- 'create corpus_documents workflow_transition'
- 'create creation content'
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create enregistrement content'
@@ -36,12 +37,14 @@ permissions:
- 'create texte content'
- 'create texte_prod content'
- 'delete any autre_son content'
- 'delete any creation content'
- 'delete any enregistrement content'
- 'delete any evenement content'
- 'delete any fil content'
- 'delete any page content'
- 'delete any texte content'
- 'delete any texte_prod content'
- 'delete own creation content'
- 'delete own texte content'
- 'delete own texte_prod content'
- 'delete terms in collectionneurs'
@@ -50,12 +53,14 @@ permissions:
- 'delete terms in langues'
- 'delete terms in locuteurs'
- 'edit any autre_son content'
- 'edit any creation content'
- 'edit any enregistrement content'
- 'edit any evenement content'
- 'edit any page content'
- 'edit any static content'
- 'edit any texte content'
- 'edit any texte_prod content'
- 'edit own creation content'
- 'edit own enregistrement content'
- 'edit own static content'
- 'edit own texte content'
@@ -84,6 +89,7 @@ permissions:
- 'revert any corpus_documents workflow_transition'
- 'revert any generique workflow_transition'
- 'revert autre_son revisions'
- 'revert creation revisions'
- 'revert enregistrement revisions'
- 'revert evenement revisions'
- 'revert page revisions'
@@ -103,6 +109,7 @@ permissions:
- 'update content translations'
- 'use text format wysiwyg'
- 'view autre_son revisions'
- 'view creation revisions'
- 'view enregistrement revisions'
- 'view evenement revisions'
- 'view own unpublished content'
+7
View File
@@ -15,6 +15,7 @@ permissions:
- 'access toolbar'
- 'administer nodes'
- 'change own username'
- 'create creation content'
- 'create paragraph content note'
- 'create paragraph content note_prod'
- 'create terms in auteurs'
@@ -23,15 +24,19 @@ permissions:
- 'create terms in tag'
- 'create texte content'
- 'create texte_prod content'
- 'delete any creation content'
- 'delete any texte content'
- 'delete any texte_prod content'
- 'delete own creation content'
- 'delete own texte content'
- 'delete own texte_prod content'
- 'delete paragraph content note'
- 'delete paragraph content note_prod'
- 'edit any creation content'
- 'edit any static content'
- 'edit any texte content'
- 'edit any texte_prod content'
- 'edit own creation content'
- 'edit own static content'
- 'edit own texte content'
- 'edit own texte_prod content'
@@ -39,12 +44,14 @@ permissions:
- 'edit terms in edition'
- 'edit terms in famille'
- 'edit terms in tag'
- 'revert creation revisions'
- 'revert static revisions'
- 'revert texte revisions'
- 'revert texte_prod revisions'
- 'update paragraph content note'
- 'update paragraph content note_prod'
- 'use text format wysiwyg'
- 'view creation revisions'
- 'view own unpublished content'
- 'view paragraph content note'
- 'view paragraph content note_prod'
@@ -38,7 +38,7 @@ type Textref implements NodeInterface & TextInterface{
# field_titre
# auteur: Auteur
# edition: Edition
# Date: String
# file: Filefield
}
type Textprod implements NodeInterface & TextInterface {
@@ -59,7 +59,7 @@ type Textprod implements NodeInterface & TextInterface {
# field_titre
# auteur: Auteur
# edition: Edition
# date: Date
# file: Filefield
}
type Filefield {