added workflow to thématiques

This commit is contained in:
Bachir Soussi Chiadmi 2021-04-21 22:23:48 +02:00
parent 77d8ee9ed8
commit 9ff6e71eed
5 changed files with 46 additions and 17 deletions

View File

@ -10,6 +10,7 @@ dependencies:
- field.field.node.thematique.field_short_description - field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_visuel - field.field.node.thematique.field_visuel
- field.field.node.thematique.field_workflow
- image.style.thumbnail - image.style.thumbnail
- node.type.thematique - node.type.thematique
module: module:
@ -17,6 +18,7 @@ dependencies:
- image - image
- path - path
- text - text
- workflow
third_party_settings: third_party_settings:
field_group: field_group:
group_htabs: group_htabs:
@ -69,7 +71,7 @@ third_party_settings:
parent_name: group_htabs parent_name: group_htabs
weight: 21 weight: 21
format_type: tab format_type: tab
region: hidden region: content
format_settings: format_settings:
id: '' id: ''
classes: '' classes: ''
@ -84,7 +86,7 @@ third_party_settings:
parent_name: group_htabs parent_name: group_htabs
weight: 22 weight: 22
format_type: tab format_type: tab
region: hidden region: content
format_settings: format_settings:
id: '' id: ''
classes: '' classes: ''
@ -94,19 +96,20 @@ third_party_settings:
label: Links label: Links
group_sidebar: group_sidebar:
children: children:
- langcode
- field_memo - field_memo
- uid - uid
- status - status
- langcode
- created - created
- promote - promote
- sticky - sticky
- path - path
- url_redirects - url_redirects
- field_workflow
parent_name: '' parent_name: ''
weight: 20 weight: 20
format_type: details_sidebar format_type: details_sidebar
region: hidden region: content
format_settings: format_settings:
description: '' description: ''
open: true open: true
@ -190,6 +193,12 @@ content:
third_party_settings: { } third_party_settings: { }
type: image_image type: image_image
region: content region: content
field_workflow:
weight: 14
settings: { }
third_party_settings: { }
type: workflow_default
region: content
flag: flag:
weight: 24 weight: 24
region: content region: content

View File

@ -10,6 +10,7 @@ dependencies:
- field.field.node.thematique.field_short_description - field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_visuel - field.field.node.thematique.field_visuel
- field.field.node.thematique.field_workflow
- node.type.thematique - node.type.thematique
module: module:
- image - image
@ -43,13 +44,6 @@ content:
third_party_settings: { } third_party_settings: { }
type: entity_reference_label type: entity_reference_label
region: content region: content
field_memo:
weight: 106
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: content
field_short_description: field_short_description:
weight: 107 weight: 107
label: above label: above
@ -85,11 +79,6 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content region: content
flag_flag_list_template_1:
weight: 10
settings: { }
third_party_settings: { }
region: content
flag_hello: flag_hello:
weight: 10 weight: 10
settings: { } settings: { }
@ -122,9 +111,9 @@ content:
region: content region: content
links: links:
weight: 100 weight: 100
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content
title: title:
label: hidden label: hidden
type: string type: string
@ -134,5 +123,8 @@ content:
link_to_entity: false link_to_entity: false
third_party_settings: { } third_party_settings: { }
hidden: hidden:
field_memo: true
field_workflow: true
flag_flag_list_template_1: true
langcode: true langcode: true
search_api_excerpt: true search_api_excerpt: true

View File

@ -11,6 +11,7 @@ dependencies:
- field.field.node.thematique.field_short_description - field.field.node.thematique.field_short_description
- field.field.node.thematique.field_tags - field.field.node.thematique.field_tags
- field.field.node.thematique.field_visuel - field.field.node.thematique.field_visuel
- field.field.node.thematique.field_workflow
- node.type.thematique - node.type.thematique
module: module:
- text - text
@ -93,5 +94,6 @@ hidden:
field_short_description: true field_short_description: true
field_tags: true field_tags: true
field_visuel: true field_visuel: true
field_workflow: true
langcode: true langcode: true
search_api_excerpt: true search_api_excerpt: true

View File

@ -0,0 +1,22 @@
uuid: 424530ad-899f-47dc-88b0-d94e508c4d44
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_workflow
- node.type.thematique
module:
- workflow
id: node.thematique.field_workflow
field_name: field_workflow
entity_type: node
bundle: thematique
label: Workflow
description: ''
required: true
translatable: false
default_value:
- { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -3,8 +3,12 @@ langcode: en
status: true status: true
dependencies: dependencies:
module: module:
- field_permissions
- node - node
- workflow - workflow
third_party_settings:
field_permissions:
permission_type: public
id: node.field_workflow id: node.field_workflow
field_name: field_workflow field_name: field_workflow
entity_type: node entity_type: node