added workflow to entrees terms
This commit is contained in:
+73
-3
@@ -4,9 +4,73 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.taxonomy_term.entrees.field_notice
|
||||
- field.field.taxonomy_term.entrees.field_workflow
|
||||
- taxonomy.vocabulary.entrees
|
||||
module:
|
||||
- field_group
|
||||
- text
|
||||
- workflow
|
||||
third_party_settings:
|
||||
field_group:
|
||||
group_tabs:
|
||||
children:
|
||||
- group_infos
|
||||
- group_description
|
||||
- group_notice
|
||||
parent_name: ''
|
||||
weight: 1
|
||||
format_type: tabs
|
||||
format_settings:
|
||||
id: ''
|
||||
classes: ''
|
||||
direction: horizontal
|
||||
label: Tabs
|
||||
region: content
|
||||
group_infos:
|
||||
children:
|
||||
- name
|
||||
- langcode
|
||||
- field_workflow
|
||||
parent_name: group_tabs
|
||||
weight: 20
|
||||
format_type: tab
|
||||
format_settings:
|
||||
id: ''
|
||||
classes: ''
|
||||
formatter: open
|
||||
description: ''
|
||||
required_fields: true
|
||||
label: Infos
|
||||
region: content
|
||||
group_description:
|
||||
children:
|
||||
- description
|
||||
parent_name: group_tabs
|
||||
weight: 21
|
||||
format_type: tab
|
||||
format_settings:
|
||||
id: ''
|
||||
classes: ''
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
label: Description
|
||||
region: content
|
||||
group_notice:
|
||||
children:
|
||||
- field_notice
|
||||
parent_name: group_tabs
|
||||
weight: 22
|
||||
format_type: tab
|
||||
format_settings:
|
||||
label: 'La notice'
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
id: ''
|
||||
classes: ''
|
||||
label: 'La notice'
|
||||
region: content
|
||||
id: taxonomy_term.entrees.default
|
||||
targetEntityType: taxonomy_term
|
||||
bundle: entrees
|
||||
@@ -14,23 +78,29 @@ mode: default
|
||||
content:
|
||||
description:
|
||||
type: text_textarea
|
||||
weight: 1
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
rows: 3
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_notice:
|
||||
weight: 2
|
||||
weight: 3
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
type: text_textarea
|
||||
region: content
|
||||
field_workflow:
|
||||
weight: 2
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: workflow_default
|
||||
region: content
|
||||
langcode:
|
||||
type: language_select
|
||||
weight: 3
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
include_locked: true
|
||||
|
||||
@@ -4,8 +4,10 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.taxonomy_term.entrees.field_notice
|
||||
- field.field.taxonomy_term.entrees.field_workflow
|
||||
- taxonomy.vocabulary.entrees
|
||||
module:
|
||||
- options
|
||||
- text
|
||||
id: taxonomy_term.entrees.default
|
||||
targetEntityType: taxonomy_term
|
||||
@@ -26,5 +28,12 @@ content:
|
||||
third_party_settings: { }
|
||||
type: text_default
|
||||
region: content
|
||||
field_workflow:
|
||||
weight: 3
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
type: list_default
|
||||
region: content
|
||||
hidden:
|
||||
langcode: true
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
uuid: e0dc8009-88cd-48a6-9333-ab4666478b8f
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.taxonomy_term.field_workflow
|
||||
- taxonomy.vocabulary.entrees
|
||||
module:
|
||||
- workflow
|
||||
id: taxonomy_term.entrees.field_workflow
|
||||
field_name: field_workflow
|
||||
entity_type: taxonomy_term
|
||||
bundle: entrees
|
||||
label: Workflow
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value:
|
||||
- { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: workflow
|
||||
@@ -0,0 +1,22 @@
|
||||
uuid: 6179af13-aaa4-4f1b-ad3f-92c579509930
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- taxonomy
|
||||
- workflow
|
||||
id: taxonomy_term.field_workflow
|
||||
field_name: field_workflow
|
||||
entity_type: taxonomy_term
|
||||
type: workflow
|
||||
settings:
|
||||
workflow_type: generique
|
||||
allowed_values_function: workflow_state_allowed_values
|
||||
allowed_values: { }
|
||||
module: workflow
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -4,13 +4,16 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.taxonomy_term.field_notice
|
||||
- field.storage.taxonomy_term.field_workflow
|
||||
- taxonomy.vocabulary.entrees
|
||||
- user.role.admin
|
||||
- user.role.collectionneur
|
||||
module:
|
||||
- options
|
||||
- taxonomy
|
||||
- text
|
||||
- user
|
||||
- workflow
|
||||
id: entree_s_
|
||||
label: Entrée(s)
|
||||
module: views
|
||||
@@ -84,6 +87,7 @@ display:
|
||||
description: ''
|
||||
columns:
|
||||
name: name
|
||||
field_workflow: name
|
||||
edit_taxonomy_term: name
|
||||
description__value: description__value
|
||||
field_notice: field_notice
|
||||
@@ -95,6 +99,13 @@ display:
|
||||
separator: '<br/>'
|
||||
empty_column: false
|
||||
responsive: ''
|
||||
field_workflow:
|
||||
sortable: false
|
||||
default_sort_order: asc
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: ''
|
||||
edit_taxonomy_term:
|
||||
sortable: false
|
||||
default_sort_order: asc
|
||||
@@ -167,6 +178,68 @@ display:
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
convert_spaces: false
|
||||
field_workflow:
|
||||
id: field_workflow
|
||||
table: taxonomy_term__field_workflow
|
||||
field: field_workflow
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
label: Workflow
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: value
|
||||
type: list_default
|
||||
settings: { }
|
||||
group_column: value
|
||||
group_columns: { }
|
||||
group_rows: true
|
||||
delta_limit: 0
|
||||
delta_offset: 0
|
||||
delta_reversed: false
|
||||
delta_first_last: false
|
||||
multi_type: separator
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
edit_taxonomy_term:
|
||||
id: edit_taxonomy_term
|
||||
table: taxonomy_term_data
|
||||
@@ -355,6 +428,93 @@ display:
|
||||
entity_type: taxonomy_term
|
||||
entity_field: vid
|
||||
plugin_id: bundle
|
||||
group: 1
|
||||
field_workflow_value:
|
||||
id: field_workflow_value
|
||||
table: taxonomy_term__field_workflow
|
||||
field: field_workflow_value
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
operator: or
|
||||
value: { }
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: field_workflow_value_op
|
||||
label: Workflow
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: field_workflow_value_op
|
||||
identifier: field_workflow_value
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
collectionneur: '0'
|
||||
admin: '0'
|
||||
root: '0'
|
||||
invite: '0'
|
||||
reduce: false
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
reduce_duplicates: false
|
||||
plugin_id: workflow_state
|
||||
name:
|
||||
id: name
|
||||
table: taxonomy_term_field_data
|
||||
field: name
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
operator: '='
|
||||
value: ''
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: name_op
|
||||
label: Name
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: name_op
|
||||
identifier: name
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
collectionneur: '0'
|
||||
admin: '0'
|
||||
root: '0'
|
||||
invite: '0'
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
entity_type: taxonomy_term
|
||||
entity_field: name
|
||||
plugin_id: string
|
||||
sorts: { }
|
||||
title: Entrée(s)
|
||||
header:
|
||||
@@ -373,15 +533,21 @@ display:
|
||||
relationships: { }
|
||||
arguments: { }
|
||||
display_extenders: { }
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
1: AND
|
||||
cache_metadata:
|
||||
max-age: 0
|
||||
contexts:
|
||||
- 'languages:language_content'
|
||||
- 'languages:language_interface'
|
||||
- url
|
||||
- url.query_args
|
||||
- user.roles
|
||||
tags:
|
||||
- 'config:field.storage.taxonomy_term.field_notice'
|
||||
- 'config:field.storage.taxonomy_term.field_workflow'
|
||||
page_1:
|
||||
display_plugin: page
|
||||
id: page_1
|
||||
@@ -404,7 +570,9 @@ display:
|
||||
contexts:
|
||||
- 'languages:language_content'
|
||||
- 'languages:language_interface'
|
||||
- url
|
||||
- url.query_args
|
||||
- user.roles
|
||||
tags:
|
||||
- 'config:field.storage.taxonomy_term.field_notice'
|
||||
- 'config:field.storage.taxonomy_term.field_workflow'
|
||||
|
||||
Reference in New Issue
Block a user