mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/site_tools.git
synced 2026-05-04 00:20:41 -03:00
Adiciona sub-módulos site_tools_msc_2020 e site_tools_msc_2020_migrate
- site_tools_msc_2020: vocabulário de taxonomia MSC 2020 (Mathematics
Subject Classification) com campo field_msc_code e tradução pt-br
habilitada via config/optional
- site_tools_msc_2020_migrate: migrations CSV para importação dos 597
termos hierárquicos em inglês (msc_2020_terms) e tradução pt-br
(msc_2020_terms_pt_br); caminho do CSV resolvido dinamicamente via
hook_migration_plugins_alter()
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
uuid: e9f1e69e-347f-442d-b2ba-4b3028bfc677
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.taxonomy_term.msc_2020.field_msc_code
|
||||
- taxonomy.vocabulary.msc_2020
|
||||
module:
|
||||
- path
|
||||
- text
|
||||
id: taxonomy_term.msc_2020.default
|
||||
targetEntityType: taxonomy_term
|
||||
bundle: msc_2020
|
||||
mode: default
|
||||
content:
|
||||
description:
|
||||
type: text_textfield
|
||||
weight: 0
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_msc_code:
|
||||
type: string_textfield
|
||||
weight: 101
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
langcode:
|
||||
type: language_select
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
include_locked: true
|
||||
third_party_settings: { }
|
||||
name:
|
||||
type: string_textfield
|
||||
weight: -5
|
||||
region: content
|
||||
settings:
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
path:
|
||||
type: path
|
||||
weight: 30
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
weight: 100
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
translation:
|
||||
weight: 10
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
hidden: { }
|
||||
@@ -0,0 +1,39 @@
|
||||
uuid: 93de3030-d981-437e-ad9a-195e8c823f7e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.taxonomy_term.msc_2020.field_msc_code
|
||||
- taxonomy.vocabulary.msc_2020
|
||||
module:
|
||||
- text
|
||||
id: taxonomy_term.msc_2020.default
|
||||
targetEntityType: taxonomy_term
|
||||
bundle: msc_2020
|
||||
mode: default
|
||||
content:
|
||||
description:
|
||||
type: text_default
|
||||
label: hidden
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 0
|
||||
region: content
|
||||
field_msc_code:
|
||||
type: string
|
||||
label: above
|
||||
settings:
|
||||
link_to_entity: false
|
||||
third_party_settings: { }
|
||||
weight: 11
|
||||
region: content
|
||||
flag_subscribe_term:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 10
|
||||
region: content
|
||||
hidden:
|
||||
entity_print_view_epub: true
|
||||
entity_print_view_pdf: true
|
||||
entity_print_view_word_docx: true
|
||||
langcode: true
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: 99d7dbdb-7460-4d81-8d09-3e5382fd9704
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.taxonomy_term.field_msc_code
|
||||
- taxonomy.vocabulary.msc_2020
|
||||
id: taxonomy_term.msc_2020.field_msc_code
|
||||
field_name: field_msc_code
|
||||
entity_type: taxonomy_term
|
||||
bundle: msc_2020
|
||||
label: 'MSC Code'
|
||||
description: ''
|
||||
required: true
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
||||
@@ -0,0 +1,21 @@
|
||||
uuid: a649f5be-435d-4e46-89a6-70ef90c21f1b
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- taxonomy
|
||||
id: taxonomy_term.field_msc_code
|
||||
field_name: field_msc_code
|
||||
entity_type: taxonomy_term
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
case_sensitive: false
|
||||
is_ascii: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,16 @@
|
||||
uuid: 69c8f7fe-e136-4a15-a718-148da20c09ee
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- taxonomy.vocabulary.msc_2020
|
||||
module:
|
||||
- content_translation
|
||||
third_party_settings:
|
||||
content_translation:
|
||||
enabled: true
|
||||
id: taxonomy_term.msc_2020
|
||||
target_entity_type_id: taxonomy_term
|
||||
target_bundle: msc_2020
|
||||
default_langcode: en
|
||||
language_alterable: false
|
||||
@@ -0,0 +1,9 @@
|
||||
uuid: 8690408b-626d-4f73-b519-847436a5723e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
name: 'MSC 2020'
|
||||
vid: msc_2020
|
||||
description: 'Math Subject Classification 2020'
|
||||
weight: 0
|
||||
new_revision: false
|
||||
9
modules/site_tools_msc_2020/site_tools_msc_2020.info.yml
Normal file
9
modules/site_tools_msc_2020/site_tools_msc_2020.info.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
name: 'Site Tools MSC 2020'
|
||||
type: module
|
||||
description: 'Vocabulário de taxonomia MSC 2020 (Mathematics Subject Classification).'
|
||||
core_version_requirement: ^10 || ^11
|
||||
package: Custom
|
||||
dependencies:
|
||||
- site_tools:site_tools
|
||||
- drupal:taxonomy
|
||||
- drupal:content_translation
|
||||
Reference in New Issue
Block a user