migration company: some memo record, fixed term withour tode

This commit is contained in:
Bachir Soussi Chiadmi 2018-12-10 12:41:32 +01:00
parent 97cacec418
commit ec103fffea
40 changed files with 1023 additions and 242 deletions

View File

@ -38,6 +38,12 @@ process:
default_value: 0
source: '@parent_id'
changed: timestamp
langcode:
plugin: default_value
default_value: 'und'
field_migration:
plugin: default_value
default_value: 'migration_imported'
# FROM TODE (linked tode node)
field_website:

View File

@ -108,7 +108,7 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP
public function prepareRow(Row $row) {
$language = $row->getSourceProperty('language');
$tid = $row->getSourceProperty('tid');
drush_print('-- '.$language.' -- '.$tid." -- ".$row->getSourceProperty('name')." -- ".$row->getSourceProperty('weight'));
drush_print('-- '.$language."\t".$tid."\t".$row->getSourceProperty('name'));
// vocabulary machine name
$machine_name = $row->getSourceProperty('machine_name');
@ -146,6 +146,10 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP
->execute()->fetchField();
// drush_print('tode_nid: '.$tode_nid);
// drush_print('tode_nid: ');
// print_r($tode_nid);
// drush_print(' ');
if($tode_nid){
// get the tode fields
foreach ($this->getFields('node', 'company') as $field_name => $field) {
// Ensure we're using the right language if the entity is translatable.
@ -155,13 +159,16 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP
$row->setSourceProperty($field_name, $field_values);
}
// $body = $row->getSourceProperty('body');
// if(!empty($body)){
// 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);
}
// print_r($body);
// }
// $field_infos_from_company = $row->getSourceProperty('field_infos_from_company');
// if(!empty($field_infos_from_company)){
// drush_print('field_infos_from_company: ');
// print_r($field_infos_from_company);
// }
// make sure that field_website url is absolute
$field_website = $row->getSourceProperty('field_website');
@ -184,23 +191,33 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP
$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";
$memo .= "#migration : invalid phone number: ".$national_number.' region: '.$region."\n";
drush_print('WARNING: phone number invalide; number: '.$national_number.' region: '.$region);
}
}
// attachment files
// TODO: attachment files
// no needs as there is no attachment field used for companies
// 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);
if(!$results){
$results = 2;
// add bad workflow to memo field
$memo .= "#migration : invalid workflow\n";
drush_print('WARNING: no workflow');
}
$row->setSourceProperty('workflow', $results);
}else{
// if no tode set workflow to hidden
$row->setSourceProperty('workflow', 2);
$memo .= "#migration : missing data from tode\n";
drush_print('WARNING: no tode');
}
// record migration errors in field_memo
if(isset($memo)){
$field_memo = $row->getSourceProperty('field_memo');

View File

@ -7,6 +7,7 @@ dependencies:
- field.field.taxonomy_term.company.field_departement
- field.field.taxonomy_term.company.field_infos_from_company
- field.field.taxonomy_term.company.field_memo
- field.field.taxonomy_term.company.field_migration
- field.field.taxonomy_term.company.field_note
- field.field.taxonomy_term.company.field_public_address
- field.field.taxonomy_term.company.field_public_email
@ -73,6 +74,7 @@ third_party_settings:
group_internal:
children:
- field_workflow
- field_migration
- field_note
- field_memo
- langcode
@ -137,17 +139,23 @@ content:
type: text_textarea
region: content
field_memo:
weight: 20
weight: 21
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_note:
field_migration:
weight: 19
settings: { }
third_party_settings: { }
type: workflow_default
region: content
field_note:
weight: 20
settings: { }
third_party_settings: { }
type: options_select
region: content
field_public_address:
@ -188,7 +196,7 @@ content:
region: content
langcode:
type: language_select
weight: 21
weight: 22
region: content
settings:
include_locked: true
@ -202,7 +210,7 @@ content:
placeholder: ''
third_party_settings: { }
translation:
weight: 22
weight: 23
region: content
settings: { }
third_party_settings: { }

View File

@ -7,6 +7,7 @@ dependencies:
- field.field.taxonomy_term.company.field_departement
- field.field.taxonomy_term.company.field_infos_from_company
- field.field.taxonomy_term.company.field_memo
- field.field.taxonomy_term.company.field_migration
- field.field.taxonomy_term.company.field_note
- field.field.taxonomy_term.company.field_public_address
- field.field.taxonomy_term.company.field_public_email
@ -62,6 +63,13 @@ content:
third_party_settings: { }
type: basic_string
region: content
field_migration:
weight: 12
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_note:
weight: 8
label: above

View File

@ -0,0 +1,22 @@
uuid: c892412c-c984-46cd-bf0f-8b71c799832b
langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_migration
- taxonomy.vocabulary.company
module:
- workflow
id: taxonomy_term.company.field_migration
field_name: field_migration
entity_type: taxonomy_term
bundle: company
label: Migration
description: ''
required: true
translatable: false
default_value:
- { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -0,0 +1,22 @@
uuid: cc79be7b-8e34-46b7-886d-8d766d6def94
langcode: en
status: true
dependencies:
module:
- taxonomy
- workflow
id: taxonomy_term.field_migration
field_name: field_migration
entity_type: taxonomy_term
type: workflow
settings:
workflow_type: migration
allowed_values: { }
allowed_values_function: ''
module: workflow
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -14,5 +14,5 @@ third_party_settings:
id: taxonomy_term.company
target_entity_type_id: taxonomy_term
target_bundle: company
default_langcode: site_default
default_langcode: und
language_alterable: true

View File

@ -1,44 +0,0 @@
uuid: 6faffb8e-4f67-4590-8cda-ea14a6e4050d
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: CAF0GWpiLdwARJLAcon4pvfS4NgQaHHWN4ufkLSZwl0
id: d7_node_materiau
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
migration_group: d7_materio
label: 'Nodes Materiau'
source:
plugin: d7_node
bundle: materiau
process:
nid: tnid
vid: vid
langcode:
plugin: default_value
source: language
default_value: und
title: title
uid: node_uid
status: status
created: created
changed: changed
promote: promote
sticky: sticky
revision_uid: revision_uid
revision_log: log
revision_timestamp: timestamp
destination:
plugin: 'entity:node'
bundle: materiau
migration_dependencies:
required:
- d7_taxonomy_term_thesaurus
- d7_taxonomy_term_tags
- d7_taxonomy_term_showroom
- d7_taxonomy_term_company

View File

@ -1,9 +1,9 @@
uuid: 99300cd0-cbdd-4df5-a0aa-1728be5d44a4
uuid: d6f76d50-f791-43a9-88f4-ce9ac8d3e492
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: dJ0jURnhhbRqPvAA5LK79EsL0naGK-GdN3XusNAHHJ8
default_config_hash: Hnyr1-4SVfUg4peHnLmgVj6KC79ZcsyZxScUaKdABp4
id: d7_taxonomy_term_company
class: null
field_plugin_method: null
@ -36,6 +36,12 @@ process:
default_value: 0
source: '@parent_id'
changed: timestamp
langcode:
plugin: default_value
default_value: und
field_migration:
plugin: default_value
default_value: migration_imported
field_website:
plugin: iterator
source: field_website

View File

@ -1,38 +0,0 @@
uuid: 4547e456-d111-425e-96e1-7d4345794589
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: zqNKk2bVkcQxXGS5osdJmrrsSBClXCu9ePcBR9zE-Lk
id: d7_taxonomy_term_company_i18n
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
- Materio
migration_group: d7_materio
label: 'Taxonomy terms Company i18n'
source:
plugin: d7_taxonomy_term_company_i18n
bundle: company
translations: true
process:
tid:
plugin: migration_lookup
migration: d7_taxonomy_term_company
source: tid
vid:
plugin: default_value
default_value: company
langcode: language
name: name
description/value: description
description/format: format
destination:
plugin: 'entity:taxonomy_term'
translations: true
migration_dependencies:
required:
- d7_taxonomy_term_company

View File

@ -1,4 +1,4 @@
uuid: 3ab2ea08-0b2a-4dd6-b479-d037148d27f6
uuid: 9966f636-b14c-444a-b773-2c1c20fb5267
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 946cc454-93bc-4ec4-bc2d-92e8b9ab6948
uuid: de8abcf5-874a-44e7-a02a-d3e767bb27a3
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 98dcaeb4-8d02-4d0f-a197-1821eaf276c0
uuid: b128c8a9-da5b-4680-b954-96c748f85aee
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 95671cd9-c184-4724-bae1-8f0bdd2eef63
uuid: ade5d159-a4df-4ec9-b38b-53efa4d3f82b
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: c4a0c58a-f898-4182-bea9-7056496c6d40
uuid: ff6e047a-f5b3-4f56-9588-fccfdce4e09f
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: ff2a0c76-18d5-4b8e-80a7-b253ccbe85c6
uuid: 99c21b67-4b40-449e-8980-c8d56df8e5a6
langcode: en
status: true
dependencies:

View File

@ -25,6 +25,7 @@ permissions:
- 'create enregistrement content'
- 'create evenement content'
- 'create generique workflow_transition'
- 'create migration workflow_transition'
- 'create page content'
- 'create terms in collectionneurs'
- 'create terms in entrees'

View File

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

View File

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

View File

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

View File

@ -3,6 +3,8 @@ langcode: en
status: true
dependencies:
config:
- field.storage.taxonomy_term.field_memo
- field.storage.taxonomy_term.field_migration
- field.storage.taxonomy_term.field_workflow
module:
- content_lock
@ -11,6 +13,8 @@ dependencies:
- taxonomy
- translation_views
- user
- views_bulk_operations
- workflow
id: admin_taxo
label: 'admin taxo'
module: views
@ -81,16 +85,25 @@ display:
summary: ''
description: ''
columns:
views_bulk_operations_bulk_form: views_bulk_operations_bulk_form
tid: name
name: name
edit_taxonomy_term: name
translation_link: name
break: name
translation_count: translation_count
langcode_1: langcode_1
is_locked: is_locked
langcode: langcode
translation_target_language: translation_target_language
field_workflow: field_workflow
field_migration: field_migration
field_memo: field_memo
info:
views_bulk_operations_bulk_form:
align: ''
separator: ''
empty_column: false
responsive: ''
tid:
sortable: false
default_sort_order: asc
@ -99,7 +112,7 @@ display:
empty_column: false
responsive: ''
name:
sortable: false
sortable: true
default_sort_order: asc
align: ''
separator: '<br/>'
@ -133,6 +146,13 @@ display:
separator: ''
empty_column: false
responsive: ''
langcode_1:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
is_locked:
sortable: false
default_sort_order: asc
@ -147,7 +167,21 @@ display:
separator: ''
empty_column: false
responsive: ''
translation_target_language:
field_workflow:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_migration:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_memo:
align: ''
separator: ''
empty_column: false
@ -157,14 +191,14 @@ display:
row:
type: fields
fields:
tid:
id: tid
table: taxonomy_term_field_data
field: tid
views_bulk_operations_bulk_form:
id: views_bulk_operations_bulk_form
table: views
field: views_bulk_operations_bulk_form
relationship: none
group_type: group
admin_label: ''
label: 'Term ID'
label: 'Views bulk operations'
exclude: false
alter:
alter_text: false
@ -205,11 +239,81 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
batch: true
batch_size: 10
form_step: true
buttons: false
clear_on_exposed: 1
action_title: Action
selected_actions:
'entity:break_lock:taxonomy_term': 'entity:break_lock:taxonomy_term'
views_bulk_edit: 0
views_bulk_operations_delete_entity: 0
pathauto_update_alias: pathauto_update_alias
'entity:unpublish_action:taxonomy_term': 'entity:unpublish_action:taxonomy_term'
'entity:publish_action:taxonomy_term': 'entity:publish_action:taxonomy_term'
'entity:save_action:taxonomy_term': 0
preconfiguration:
'entity:break_lock:taxonomy_term':
label_override: ''
pathauto_update_alias:
label_override: ''
'entity:unpublish_action:taxonomy_term':
label_override: ''
'entity:publish_action:taxonomy_term':
label_override: ''
plugin_id: views_bulk_operations_bulk_form
tid:
id: tid
table: taxonomy_term_field_data
field: tid
relationship: none
group_type: group
admin_label: ''
label: 'Term ID'
exclude: false
alter:
alter_text: false
text: '<code style="font-size:8px;">{{tid}}</code>'
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: false
ellipsis: false
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: code
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: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
type: number_unformatted
settings: { }
group_column: value
group_columns: { }
group_rows: true
@ -227,28 +331,38 @@ display:
id: name
table: taxonomy_term_field_data
field: name
entity_type: taxonomy_term
entity_field: name
alter:
alter_text: false
make_link: false
absolute: false
trim: false
word_boundary: false
ellipsis: false
strip_tags: false
html: false
hide_empty: false
empty_zero: false
type: string
settings:
link_to_entity: true
plugin_id: term_name
relationship: none
group_type: group
admin_label: ''
label: Name
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: false
ellipsis: false
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: ''
@ -258,8 +372,13 @@ display:
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
@ -271,6 +390,9 @@ display:
separator: ', '
field_api_classes: false
convert_spaces: false
entity_type: taxonomy_term
entity_field: name
plugin_id: term_name
edit_taxonomy_term:
id: edit_taxonomy_term
table: taxonomy_term_data
@ -278,7 +400,7 @@ display:
relationship: none
group_type: group
admin_label: ''
label: 'Link to edit Taxonomy term'
label: Edit
exclude: false
alter:
alter_text: false
@ -484,6 +606,72 @@ display:
suffix: ''
entity_type: taxonomy_term
plugin_id: translation_views_translation_count
langcode_1:
id: langcode_1
table: taxonomy_term_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
label: 'Translation language'
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: language
settings:
link_to_entity: false
native_language: false
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
entity_type: taxonomy_term
entity_field: langcode
plugin_id: field
is_locked:
id: is_locked
table: content_lock
@ -588,57 +776,6 @@ display:
native_language: false
entity_field: langcode
plugin_id: language
translation_target_language:
id: translation_target_language
table: taxonomy_term_translation
field: translation_target_language
relationship: none
group_type: group
admin_label: ''
label: 'Target language'
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
native_language: false
entity_type: taxonomy_term
plugin_id: translation_views_target_language
field_workflow:
id: field_workflow
table: taxonomy_term__field_workflow
@ -701,18 +838,131 @@ display:
separator: ', '
field_api_classes: false
plugin_id: field
field_migration:
id: field_migration
table: taxonomy_term__field_migration
field: field_migration
relationship: none
group_type: group
admin_label: ''
label: Migration
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
field_memo:
id: field_memo
table: taxonomy_term__field_memo
field: field_memo
relationship: none
group_type: group
admin_label: ''
label: Memo
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: basic_string
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'
table: taxonomy_term_field_data
field: status
plugin_id: boolean
entity_type: taxonomy_term
entity_field: status
id: status
expose:
operator: ''
group: 1
vid:
id: vid
table: taxonomy_term_field_data
@ -756,6 +1006,49 @@ display:
entity_type: taxonomy_term
entity_field: vid
plugin_id: bundle
name:
id: name
table: taxonomy_term_field_data
field: name
relationship: none
group_type: group
admin_label: ''
operator: contains
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'
admin: '0'
root: '0'
user: '0'
placeholder: ''
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
langcode:
id: langcode
table: taxonomy_term_field_data
@ -846,6 +1139,131 @@ display:
entity_type: taxonomy_term
entity_field: langcode
plugin_id: language
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 (field_workflow)'
description: ''
use_operator: false
operator: field_workflow_value_op
identifier: field_workflow_value
required: false
remember: true
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
user: '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
field_migration_value:
id: field_migration_value
table: taxonomy_term__field_migration
field: field_migration_value
relationship: none
group_type: group
admin_label: ''
operator: or
value: { }
group: 1
exposed: true
expose:
operator_id: field_migration_value_op
label: 'Migration (field_migration)'
description: ''
use_operator: false
operator: field_migration_value_op
identifier: field_migration_value
required: false
remember: true
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
user: '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
field_memo_value:
id: field_memo_value
table: taxonomy_term__field_memo
field: field_memo_value
relationship: none
group_type: group
admin_label: ''
operator: contains
value: ''
group: 1
exposed: true
expose:
operator_id: field_memo_value_op
label: Memo
description: ''
use_operator: false
operator: field_memo_value_op
identifier: field_memo_value
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
admin: '0'
root: '0'
user: '0'
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
plugin_id: string
sorts: { }
title: Taxonomy
header:
@ -864,8 +1282,12 @@ display:
relationships: { }
arguments: { }
display_extenders: { }
filter_groups:
operator: AND
groups:
1: AND
cache_metadata:
max-age: -1
max-age: 0
contexts:
- 'languages:language_content'
- 'languages:language_interface'
@ -873,6 +1295,8 @@ display:
- url.query_args
- user.permissions
tags:
- 'config:field.storage.taxonomy_term.field_memo'
- 'config:field.storage.taxonomy_term.field_migration'
- 'config:field.storage.taxonomy_term.field_workflow'
page_1:
display_plugin: page
@ -883,7 +1307,7 @@ display:
display_extenders: { }
path: admin/content/taxonomy/terms
cache_metadata:
max-age: -1
max-age: 0
contexts:
- 'languages:language_content'
- 'languages:language_interface'
@ -891,4 +1315,6 @@ display:
- url.query_args
- user.permissions
tags:
- 'config:field.storage.taxonomy_term.field_memo'
- 'config:field.storage.taxonomy_term.field_migration'
- 'config:field.storage.taxonomy_term.field_workflow'

View File

@ -0,0 +1,12 @@
uuid: 92199a12-87b2-4208-82c8-a34b770289b9
langcode: en
status: true
dependencies:
config:
- workflow.workflow.migration
id: migration_creation
label: Creation
module: workflow
wid: migration
weight: -11
sysid: 1

View File

@ -0,0 +1,12 @@
uuid: ca00dac2-806b-4db9-89a0-64bbc56898bb
langcode: en
status: true
dependencies:
config:
- workflow.workflow.migration
id: migration_imported
label: Imported
module: workflow
wid: migration
weight: -9
sysid: 0

View File

@ -0,0 +1,12 @@
uuid: a9c41178-c0bc-4835-9f20-cf461e325f16
langcode: en
status: true
dependencies:
config:
- workflow.workflow.migration
id: migration_new
label: New
module: workflow
wid: migration
weight: -10
sysid: 0

View File

@ -0,0 +1,12 @@
uuid: 08302f4a-8cee-4b2a-a635-4c4cd4991f41
langcode: en
status: true
dependencies:
config:
- workflow.workflow.migration
id: migration_reviewed
label: Reviewed
module: workflow
wid: migration
weight: -8
sysid: 0

View File

@ -0,0 +1,19 @@
uuid: 46737653-963c-47df-ad5b-ac32f5bad5f1
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_creation
- workflow.state.migration_imported
id: migration_creation_imported
label: null
module: workflow
from_sid: migration_creation
to_sid: migration_imported
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 8fe8d7af-ceca-4a63-82db-8c9e12c5ec4d
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_creation
- workflow.state.migration_new
id: migration_creation_new
label: null
module: workflow
from_sid: migration_creation
to_sid: migration_new
roles:
workflow_author: workflow_author
admin: admin
root: root
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 8b01325b-e4ed-45be-8781-b4176df31d56
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_creation
- workflow.state.migration_reviewed
id: migration_creation_reviewed
label: null
module: workflow
from_sid: migration_creation
to_sid: migration_reviewed
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,12 @@
uuid: 873d713b-baf5-458f-b549-0759db292ebc
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_imported
id: migration_imported_imported
label: null
module: workflow
from_sid: migration_imported
to_sid: migration_imported
roles: { }

View File

@ -0,0 +1,19 @@
uuid: 9a107b1a-ead7-42be-87c4-73303861e422
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_imported
- workflow.state.migration_new
id: migration_imported_new
label: null
module: workflow
from_sid: migration_imported
to_sid: migration_new
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 356ad6cb-f67d-4a86-84e4-678400474918
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_imported
- workflow.state.migration_reviewed
id: migration_imported_reviewed
label: null
module: workflow
from_sid: migration_imported
to_sid: migration_reviewed
roles:
admin: admin
root: root
workflow_author: '0'
anonymous: '0'
authenticated: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 9dabdd0b-edf4-495c-b4ce-194673cf5c15
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_imported
- workflow.state.migration_new
id: migration_new_imported
label: null
module: workflow
from_sid: migration_new
to_sid: migration_imported
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,12 @@
uuid: f5e120a9-20e2-414d-9374-c75b4410c345
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_new
id: migration_new_new
label: null
module: workflow
from_sid: migration_new
to_sid: migration_new
roles: { }

View File

@ -0,0 +1,19 @@
uuid: e5c8e0c4-44e7-4da3-bcfc-52f4f9a745a2
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_new
- workflow.state.migration_reviewed
id: migration_new_reviewed
label: null
module: workflow
from_sid: migration_new
to_sid: migration_reviewed
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 87ee9489-c504-4e1b-be53-8bb4f99e5843
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_imported
- workflow.state.migration_reviewed
id: migration_reviewed_imported
label: null
module: workflow
from_sid: migration_reviewed
to_sid: migration_imported
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,19 @@
uuid: 53af0f5d-d29a-49a2-ba0f-0795dac2862c
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_new
- workflow.state.migration_reviewed
id: migration_reviewed_new
label: null
module: workflow
from_sid: migration_reviewed
to_sid: migration_new
roles:
workflow_author: '0'
anonymous: '0'
authenticated: '0'
admin: '0'
root: '0'
user: '0'

View File

@ -0,0 +1,12 @@
uuid: dc1eb81a-ef0f-41b5-ae3e-97f871c92ee2
langcode: en
status: true
dependencies:
config:
- workflow.state.migration_reviewed
id: migration_reviewed_reviewed
label: null
module: workflow
from_sid: migration_reviewed
to_sid: migration_reviewed
roles: { }

View File

@ -0,0 +1,14 @@
uuid: 4adea39d-5bf4-4cba-bb5e-86c4a36927a3
langcode: en
status: true
dependencies: { }
id: migration
label: Migration
module: workflow
options:
name_as_title: 0
fieldset: 2
options: radios
schedule_timezone: 1
comment_log_node: 0
watchdog_log: 0

View File

@ -10,5 +10,5 @@ options:
fieldset: 1
options: radios
schedule_timezone: 1
comment_log_node: 1
comment_log_node: 0
watchdog_log: 0

View File

@ -98,3 +98,78 @@ workflow_imported:
grant_view: 0
grant_update: 0
grant_delete: 0
migration_new:
anonymous:
grant_view: true
grant_update: 0
grant_delete: 0
authenticated:
grant_view: true
grant_update: 0
grant_delete: 0
workflow_author:
grant_view: 0
grant_update: 0
grant_delete: 0
admin:
grant_view: 0
grant_update: true
grant_delete: 0
root:
grant_view: 0
grant_update: true
grant_delete: true
user:
grant_view: 0
grant_update: 0
grant_delete: 0
migration_imported:
anonymous:
grant_view: true
grant_update: 0
grant_delete: 0
authenticated:
grant_view: true
grant_update: 0
grant_delete: 0
workflow_author:
grant_view: 0
grant_update: 0
grant_delete: 0
admin:
grant_view: 0
grant_update: true
grant_delete: 0
root:
grant_view: 0
grant_update: true
grant_delete: true
user:
grant_view: 0
grant_update: 0
grant_delete: 0
migration_reviewed:
anonymous:
grant_view: true
grant_update: 0
grant_delete: 0
authenticated:
grant_view: true
grant_update: 0
grant_delete: 0
workflow_author:
grant_view: 0
grant_update: 0
grant_delete: 0
admin:
grant_view: 0
grant_update: true
grant_delete: 0
root:
grant_view: 0
grant_update: true
grant_delete: true
user:
grant_view: 0
grant_update: 0
grant_delete: 0