projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
taxonomy
/
migration_templates
/
d7_taxonomy_vocabulary.yml
diff --git
a/web/core/modules/taxonomy/migration_templates/d7_taxonomy_vocabulary.yml
b/web/core/modules/taxonomy/migration_templates/d7_taxonomy_vocabulary.yml
index 355a69c19b031185de2513c4e4b1aeeeb5a4278a..751f018371cc7065c97e7314859912103f4d426e 100644
(file)
--- a/
web/core/modules/taxonomy/migration_templates/d7_taxonomy_vocabulary.yml
+++ b/
web/core/modules/taxonomy/migration_templates/d7_taxonomy_vocabulary.yml
@@
-6,15
+6,19
@@
source:
plugin: d7_taxonomy_vocabulary
process:
vid:
plugin: d7_taxonomy_vocabulary
process:
vid:
- -
- plugin: machine_name
- source: name
-
plugin: make_unique_entity_field
-
plugin: make_unique_entity_field
+ source: machine_name
entity_type: taxonomy_vocabulary
field: vid
length: 32
migrated: true
entity_type: taxonomy_vocabulary
field: vid
length: 32
migrated: true
+ -
+ # This plugin checks if the vocabulary being migrated is the one used by
+ # Forum. If so, we use the machine name that Forum expects. Otherwise, we
+ # leave it unchanged.
+ plugin: forum_vocabulary
+ machine_name: forums
label: name
name: name
description: description
label: name
name: name
description: description