company migration: departement, description, company infos, workflow; config workflow

This commit is contained in:
Bachir Soussi Chiadmi 2018-12-09 19:39:50 +01:00
parent 25d6177874
commit 97cacec418
50 changed files with 779 additions and 91 deletions

View File

@ -80,16 +80,35 @@ process:
# data
field_note: field_note
field_departement: field_departement
description:
plugin: iterator
source: body
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
field_infos_from_company:
plugin: iterator
source: field_infos_from_company
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
field_workflow:
plugin: static_map
source: workflow
map:
1: "workflow_creation"
2: "workflow_hidden"
3: "workflow_visible"
4: "workflow_imported"
5: "workflow_edited"
# work in progress
# not ready
field_departement: field_departement
field_description: body
# 'description/value': description
# 'description/format': format
field_infos_from_company: field_infos_from_company
field_attachments: field_attachments
# workflow ??
# field_attachments: field_attachments

View File

@ -151,12 +151,19 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP
// Ensure we're using the right language if the entity is translatable.
$field_language = $field['translatable'] ? $language : NULL;
$field_values = $this->getFieldValues('node', $field_name, $tode_nid, null, $field_language);
drush_print($field_name.': ');
print_r($field_values);
$row->setSourceProperty($field_name, $field_values);
}
// make sure that feild_website url is absolute
// drush_print('body: ');
// print_r($row->getSourceProperty('body'));
$field_infos = $row->getSourceProperty('field_infos_from_company');
if(!empty($field_infos)){
drush_print('field_infos_from_company: ');
print_r($field_infos);
}
// make sure that field_website url is absolute
$field_website = $row->getSourceProperty('field_website');
if(isset($field_website[0]['url'])){
$url = $field_website[0]['url'];
@ -171,10 +178,35 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP
if(isset($field_phone[0]['number']) && !empty($field_phone[0]['number'])){
$national_number = $field_phone[0]['number'];
$region = strtoupper($field_phone[0]['country_codes']);
$number = $this->phoneUtils->parse($national_number, $region);
$row->setSourceProperty('public_phone', $this->phoneUtils->format($number, PhoneNumberFormat::E164));
// isValidRegionCode($regionCode)
if($this->phoneUtils->isPossibleNumber($national_number, $region)){
$number = $this->phoneUtils->parse($national_number, $region);
$row->setSourceProperty('public_phone', $this->phoneUtils->format($number, PhoneNumberFormat::E164));
}else{
// add bad phone number to memo field
$memo .= "invalid phone number: ".$national_number.' region: '.$region."\n";
drush_print('WARNING: phone number invalide; number: '.$national_number.' region: '.$region);
}
}
// attachment files
// workflow
// get the workflow status
$query = $this->select('workflow_node', 'wn');
$query->fields('wn', ['sid']);
$query->condition('wn.nid', $tode_nid);
$results = $query->execute()->fetchField();
// drush_print('workflow query results : ', 0, null, false);
// drush_print_r($results);
$row->setSourceProperty('workflow', $results);
// record migration errors in field_memo
if(isset($memo)){
$field_memo = $row->getSourceProperty('field_memo');
$field_memo[0]['value'] .= "\n".$memo;
$row->setSourceProperty('field_memo', $field_memo);
}
return parent::prepareRow($row);
}

View File

@ -5,7 +5,6 @@ dependencies:
config:
- field.field.taxonomy_term.company.field_attachments
- field.field.taxonomy_term.company.field_departement
- field.field.taxonomy_term.company.field_description
- field.field.taxonomy_term.company.field_infos_from_company
- field.field.taxonomy_term.company.field_memo
- field.field.taxonomy_term.company.field_note
@ -13,6 +12,7 @@ dependencies:
- field.field.taxonomy_term.company.field_public_email
- field.field.taxonomy_term.company.field_public_phone
- field.field.taxonomy_term.company.field_website
- field.field.taxonomy_term.company.field_workflow
- taxonomy.vocabulary.company
module:
- address
@ -21,6 +21,7 @@ dependencies:
- link
- telephone
- text
- workflow
third_party_settings:
field_group:
group_tabs:
@ -58,7 +59,6 @@ third_party_settings:
group_contents:
children:
- description
- field_description
- field_infos_from_company
parent_name: group_tabs
weight: 13
@ -72,6 +72,7 @@ third_party_settings:
label: Contents
group_internal:
children:
- field_workflow
- field_note
- field_memo
- langcode
@ -127,14 +128,6 @@ content:
third_party_settings: { }
type: string_textfield
region: content
field_description:
weight: 3
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
field_infos_from_company:
weight: 4
settings:
@ -144,7 +137,7 @@ content:
type: text_textarea
region: content
field_memo:
weight: 6
weight: 20
settings:
rows: 5
placeholder: ''
@ -152,7 +145,7 @@ content:
type: string_textarea
region: content
field_note:
weight: 5
weight: 19
settings: { }
third_party_settings: { }
type: options_select
@ -187,9 +180,15 @@ content:
third_party_settings: { }
type: link_default
region: content
field_workflow:
weight: 18
settings: { }
third_party_settings: { }
type: workflow_default
region: content
langcode:
type: language_select
weight: 7
weight: 21
region: content
settings:
include_locked: true
@ -203,7 +202,7 @@ content:
placeholder: ''
third_party_settings: { }
translation:
weight: 8
weight: 22
region: content
settings: { }
third_party_settings: { }

View File

@ -5,7 +5,6 @@ dependencies:
config:
- field.field.taxonomy_term.company.field_attachments
- field.field.taxonomy_term.company.field_departement
- field.field.taxonomy_term.company.field_description
- field.field.taxonomy_term.company.field_infos_from_company
- field.field.taxonomy_term.company.field_memo
- field.field.taxonomy_term.company.field_note
@ -13,6 +12,7 @@ dependencies:
- field.field.taxonomy_term.company.field_public_email
- field.field.taxonomy_term.company.field_public_phone
- field.field.taxonomy_term.company.field_website
- field.field.taxonomy_term.company.field_workflow
- taxonomy.vocabulary.company
module:
- address
@ -48,13 +48,6 @@ content:
third_party_settings: { }
type: string
region: content
field_description:
weight: 3
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
field_infos_from_company:
weight: 5
label: above
@ -109,5 +102,12 @@ content:
third_party_settings: { }
type: link
region: content
field_workflow:
weight: 11
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
hidden:
langcode: true

View File

@ -1,21 +0,0 @@
uuid: 8852b11d-67bf-4215-9ab6-d3b68cc5ef34
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_description
- taxonomy.vocabulary.company
module:
- text
id: taxonomy_term.company.field_description
field_name: field_description
entity_type: taxonomy_term
bundle: company
label: Description
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@ -27,5 +27,21 @@ settings:
override: optional
familyName:
override: optional
organization:
override: optional
addressLine1:
override: optional
addressLine2:
override: optional
postalCode:
override: optional
sortingCode:
override: optional
dependentLocality:
override: optional
locality:
override: optional
administrativeArea:
override: optional
fields: { }
field_type: address

View File

@ -0,0 +1,21 @@
uuid: 3e4b562b-7b20-4ad7-ac22-a55949dc3d84
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_workflow
- taxonomy.vocabulary.company
module:
- workflow
id: taxonomy_term.company.field_workflow
field_name: field_workflow
entity_type: taxonomy_term
bundle: company
label: Workflow
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -1,19 +0,0 @@
uuid: c31b4e2d-b155-4a14-8851-d67481c4fd42
langcode: en
status: true
dependencies:
module:
- taxonomy
- text
id: taxonomy_term.field_description
field_name: field_description
entity_type: taxonomy_term
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,22 @@
uuid: 47b0e54b-73e5-406d-92fa-115f44705c9e
langcode: en
status: true
dependencies:
module:
- taxonomy
- workflow
id: taxonomy_term.field_workflow
field_name: field_workflow
entity_type: taxonomy_term
type: workflow
settings:
workflow_type: workflow
allowed_values: { }
allowed_values_function: ''
module: workflow
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,4 +1,4 @@
uuid: 0a24de28-0492-4a63-a5fd-847c5a4fe5a0
uuid: 6faffb8e-4f67-4590-8cda-ea14a6e4050d
langcode: en
status: true
dependencies: { }

View File

@ -1,9 +1,9 @@
uuid: 0bcce6fc-4b6e-4e40-b3a2-b164ffaec3c9
uuid: 99300cd0-cbdd-4df5-a0aa-1728be5d44a4
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: Z1Eszg2PyEx7bcSK4ieINRiMS9CB3AtJOAZbW0U6qG8
default_config_hash: dJ0jURnhhbRqPvAA5LK79EsL0naGK-GdN3XusNAHHJ8
id: d7_taxonomy_term_company
class: null
field_plugin_method: null
@ -63,11 +63,33 @@ process:
organization: organisation_name
given_name: first_name
family_name: last_name
field_departement: field_departement
field_description: body
field_infos_from_company: field_infos_from_company
field_note: field_note
field_attachments: field_attachments
field_departement: field_departement
description:
plugin: iterator
source: body
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
field_infos_from_company:
plugin: iterator
source: field_infos_from_company
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
field_workflow:
plugin: static_map
source: workflow
map:
1: workflow_creation
2: workflow_hidden
3: workflow_visible
4: workflow_imported
5: workflow_edited
destination:
plugin: 'entity:taxonomy_term'
migration_dependencies: null

View File

@ -1,4 +1,4 @@
uuid: 17165199-3121-49d1-b878-a64284025225
uuid: 4547e456-d111-425e-96e1-7d4345794589
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 05fe6f06-9cee-47ff-933d-268644842a3a
uuid: 3ab2ea08-0b2a-4dd6-b479-d037148d27f6
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 465171e4-51a9-4444-86a4-7b6f7507db35
uuid: 946cc454-93bc-4ec4-bc2d-92e8b9ab6948
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: e214bf70-9c03-4c85-b43e-2eda414054b5
uuid: 98dcaeb4-8d02-4d0f-a197-1821eaf276c0
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 0a8163f7-cc07-4a8b-bc84-c92c5a5bf670
uuid: 95671cd9-c184-4724-bae1-8f0bdd2eef63
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 358a06c9-e520-4b68-9ba1-06ad909a2a35
uuid: c4a0c58a-f898-4182-bea9-7056496c6d40
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: efeba33e-d8cf-4133-9d78-9977d3ff451f
uuid: ff2a0c76-18d5-4b8e-80a7-b253ccbe85c6
langcode: en
status: true
dependencies:

View File

@ -31,6 +31,7 @@ permissions:
- 'create terms in genres'
- 'create terms in langues'
- 'create terms in locuteurs'
- 'create workflow workflow_transition'
- 'delete any autre_son content'
- 'delete any enregistrement content'
- 'delete any evenement content'

View File

@ -17,6 +17,7 @@ permissions:
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create generique workflow_transition'
- 'create workflow workflow_transition'
- 'use text format wysiwyg'
- 'view published fil entities'
- 'view search api pages'

View File

@ -19,6 +19,7 @@ permissions:
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create generique workflow_transition'
- 'create workflow workflow_transition'
- 'delete own composition entities'
- 'delete own fil entities'
- 'edit own chutier entities'

View File

@ -11,3 +11,4 @@ is_admin: null
permissions:
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create workflow workflow_transition'

View File

@ -2,9 +2,12 @@ uuid: 15a82018-870e-48cd-a0a6-03b18ed5e3f9
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_workflow
module:
- content_lock
- content_translation
- options
- taxonomy
- translation_views
- user
@ -636,6 +639,68 @@ display:
native_language: false
entity_type: taxonomy_term
plugin_id: translation_views_target_language
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
filters:
status:
value: '1'
@ -807,7 +872,8 @@ display:
- url
- url.query_args
- user.permissions
tags: { }
tags:
- 'config:field.storage.taxonomy_term.field_workflow'
page_1:
display_plugin: page
id: page_1
@ -824,4 +890,5 @@ display:
- url
- url.query_args
- user.permissions
tags: { }
tags:
- 'config:field.storage.taxonomy_term.field_workflow'

View File

@ -0,0 +1,12 @@
uuid: 0b88bf90-ccb0-4c96-970e-fd9c58764648
langcode: en
status: true
dependencies:
config:
- workflow.workflow.workflow
id: workflow_creation
label: Creation
module: workflow
wid: workflow
weight: -11
sysid: 1

View File

@ -0,0 +1,12 @@
uuid: 1e6ee69f-d379-46d6-8908-4e2f816f3881
langcode: en
status: true
dependencies:
config:
- workflow.workflow.workflow
id: workflow_edited
label: Edited
module: workflow
wid: workflow
weight: -8
sysid: 0

View File

@ -0,0 +1,12 @@
uuid: 1df3cd48-3df8-407f-a83c-ad47ababe131
langcode: en
status: true
dependencies:
config:
- workflow.workflow.workflow
id: workflow_hidden
label: Hidden
module: workflow
wid: workflow
weight: -7
sysid: 0

View File

@ -0,0 +1,12 @@
uuid: 58f2a5b8-28bf-42e9-a887-871a42c557c9
langcode: en
status: true
dependencies:
config:
- workflow.workflow.workflow
id: workflow_imported
label: Imported
module: workflow
wid: workflow
weight: -9
sysid: 0

View File

@ -0,0 +1,12 @@
uuid: e5ac6da2-f70b-458e-b94e-3fba298ca08f
langcode: en
status: true
dependencies:
config:
- workflow.workflow.workflow
id: workflow_visible
label: Visible
module: workflow
wid: workflow
weight: -6
sysid: 0

View File

@ -0,0 +1,19 @@
uuid: c43cc500-54ec-40cc-bcfa-4ecaf450c5be
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_creation
- workflow.state.workflow_edited
id: workflow_creation_edited
label: null
module: workflow
from_sid: workflow_creation
to_sid: workflow_edited
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: fe827db9-3ca6-4c51-b2d6-08df081799d1
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_creation
- workflow.state.workflow_hidden
id: workflow_creation_hidden
label: null
module: workflow
from_sid: workflow_creation
to_sid: workflow_hidden
roles:
workflow_author: workflow_author
admin: admin
root: root
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 0c811fe0-a27b-4922-8765-edf2911f13b6
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_creation
- workflow.state.workflow_imported
id: workflow_creation_imported
label: null
module: workflow
from_sid: workflow_creation
to_sid: workflow_imported
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: ef5e8690-08c0-4a6d-8599-599c8e56f7cb
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_creation
- workflow.state.workflow_visible
id: workflow_creation_visible
label: null
module: workflow
from_sid: workflow_creation
to_sid: workflow_visible
roles:
workflow_author: workflow_author
admin: admin
root: root
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,12 @@
uuid: f415cd6d-03c7-41f2-aa45-c2149f7b13e2
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_edited
id: workflow_edited_edited
label: null
module: workflow
from_sid: workflow_edited
to_sid: workflow_edited
roles: { }

View File

@ -0,0 +1,19 @@
uuid: 1257f61b-c403-4a9e-b0c0-00da76a53100
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_edited
- workflow.state.workflow_hidden
id: workflow_edited_hidden
label: null
module: workflow
from_sid: workflow_edited
to_sid: workflow_hidden
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 04ba4076-34f7-47ee-b9f4-bacdaf530ebc
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_edited
- workflow.state.workflow_imported
id: workflow_edited_imported
label: null
module: workflow
from_sid: workflow_edited
to_sid: workflow_imported
roles:
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 8d00f97e-cc2e-4c18-a691-91610d3a966f
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_edited
- workflow.state.workflow_visible
id: workflow_edited_visible
label: null
module: workflow
from_sid: workflow_edited
to_sid: workflow_visible
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 076ae4ce-5796-4f80-a056-e69e078c01cb
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_edited
- workflow.state.workflow_hidden
id: workflow_hidden_edited
label: null
module: workflow
from_sid: workflow_hidden
to_sid: workflow_edited
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,12 @@
uuid: 8f322013-33fc-4354-8790-b2517be4d41e
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_hidden
id: workflow_hidden_hidden
label: null
module: workflow
from_sid: workflow_hidden
to_sid: workflow_hidden
roles: { }

View File

@ -0,0 +1,19 @@
uuid: b3f269c4-9f0d-4429-967c-3068beb74c87
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_hidden
- workflow.state.workflow_imported
id: workflow_hidden_imported
label: null
module: workflow
from_sid: workflow_hidden
to_sid: workflow_imported
roles:
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: c643211a-0c34-4a9b-a725-b3e83faa2a0e
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_hidden
- workflow.state.workflow_visible
id: workflow_hidden_visible
label: null
module: workflow
from_sid: workflow_hidden
to_sid: workflow_visible
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 12d8091b-5a56-4d06-996c-81b5c018079c
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_edited
- workflow.state.workflow_imported
id: workflow_imported_edited
label: null
module: workflow
from_sid: workflow_imported
to_sid: workflow_edited
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 2f1227d3-97ee-4dc4-b076-98960495dbbb
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_hidden
- workflow.state.workflow_imported
id: workflow_imported_hidden
label: null
module: workflow
from_sid: workflow_imported
to_sid: workflow_hidden
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,12 @@
uuid: 97ba119a-57bc-47f8-b287-c431569d73de
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_imported
id: workflow_imported_imported
label: null
module: workflow
from_sid: workflow_imported
to_sid: workflow_imported
roles: { }

View File

@ -0,0 +1,19 @@
uuid: e07dafa9-a539-47fd-a519-de4b563b10d8
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_imported
- workflow.state.workflow_visible
id: workflow_imported_visible
label: null
module: workflow
from_sid: workflow_imported
to_sid: workflow_visible
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 996a7e97-69f8-400d-9487-2eb602743706
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_edited
- workflow.state.workflow_visible
id: workflow_visible_edited
label: null
module: workflow
from_sid: workflow_visible
to_sid: workflow_edited
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 12203f8d-9648-4b19-8276-85f8796b2718
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_hidden
- workflow.state.workflow_visible
id: workflow_visible_hidden
label: null
module: workflow
from_sid: workflow_visible
to_sid: workflow_hidden
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: c6c8abdd-23c3-40b9-8188-0e63500c127d
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_imported
- workflow.state.workflow_visible
id: workflow_visible_imported
label: null
module: workflow
from_sid: workflow_visible
to_sid: workflow_imported
roles:
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
user: '0'

View File

@ -0,0 +1,12 @@
uuid: 6cdc7484-3595-467b-a4e1-ee45395a840d
langcode: en
status: true
dependencies:
config:
- workflow.state.workflow_visible
id: workflow_visible_visible
label: null
module: workflow
from_sid: workflow_visible
to_sid: workflow_visible
roles: { }

View File

@ -0,0 +1,14 @@
uuid: 3c639e0f-8f2f-4768-ba22-29df3d56843c
langcode: en
status: true
dependencies: { }
id: workflow
label: Workflow
module: workflow
options:
name_as_title: 1
fieldset: 1
options: radios
schedule_timezone: 1
comment_log_node: 1
watchdog_log: 0

View File

@ -0,0 +1,100 @@
workflow_edited:
admin:
grant_view: true
grant_update: true
grant_delete: 0
root:
grant_view: true
grant_update: true
grant_delete: true
workflow_author:
grant_view: 0
grant_update: 0
grant_delete: 0
anonymous:
grant_view: 0
grant_update: 0
grant_delete: 0
authenticated:
grant_view: 0
grant_update: 0
grant_delete: 0
user:
grant_view: 0
grant_update: 0
grant_delete: 0
workflow_hidden:
admin:
grant_view: true
grant_update: true
grant_delete: 0
root:
grant_view: true
grant_update: true
grant_delete: true
workflow_author:
grant_view: 0
grant_update: 0
grant_delete: 0
anonymous:
grant_view: 0
grant_update: 0
grant_delete: 0
authenticated:
grant_view: 0
grant_update: 0
grant_delete: 0
user:
grant_view: 0
grant_update: 0
grant_delete: 0
workflow_visible:
admin:
grant_view: 0
grant_update: true
grant_delete: 0
root:
grant_view: 0
grant_update: true
grant_delete: true
workflow_author:
grant_view: 0
grant_update: 0
grant_delete: 0
anonymous:
grant_view: true
grant_update: 0
grant_delete: 0
authenticated:
grant_view: true
grant_update: 0
grant_delete: 0
user:
grant_view: 0
grant_update: 0
grant_delete: 0
workflow_imported:
admin:
grant_view: true
grant_update: true
grant_delete: 0
root:
grant_view: true
grant_update: true
grant_delete: true
workflow_author:
grant_view: 0
grant_update: 0
grant_delete: 0
anonymous:
grant_view: 0
grant_update: 0
grant_delete: 0
authenticated:
grant_view: 0
grant_update: 0
grant_delete: 0
user:
grant_view: 0
grant_update: 0
grant_delete: 0