mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/structural_pages.git
synced 2026-04-23 17:21:59 -03:00
Rename module site_structure → structural_pages and vocabulary site_section → site_sections
Renames the module from site_structure to structural_pages and pluralizes the taxonomy vocabulary machine name from site_section to site_sections, updating all config, PHP, translations, and documentation references while preserving field_site_section, clears_site_section, and $site_section_id. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ dependencies:
|
||||
- field.storage.node.field_parent_page
|
||||
- node.type.content_page
|
||||
- node.type.section_page
|
||||
- taxonomy.vocabulary.site_section
|
||||
- taxonomy.vocabulary.site_sections
|
||||
module:
|
||||
- dynamic_entity_reference
|
||||
id: node.content_page.field_parent_page
|
||||
@@ -36,7 +36,7 @@ settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
site_section: site_section
|
||||
site_sections: site_sections
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
|
||||
@@ -4,7 +4,7 @@ dependencies:
|
||||
config:
|
||||
- field.storage.node.field_site_section
|
||||
- node.type.content_page
|
||||
- taxonomy.vocabulary.site_section
|
||||
- taxonomy.vocabulary.site_sections
|
||||
module:
|
||||
- taxonomy
|
||||
id: node.content_page.field_site_section
|
||||
@@ -21,7 +21,7 @@ settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
site_section: site_section
|
||||
site_sections: site_sections
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
|
||||
@@ -4,7 +4,7 @@ dependencies:
|
||||
config:
|
||||
- field.storage.node.field_site_section
|
||||
- node.type.section_page
|
||||
- taxonomy.vocabulary.site_section
|
||||
- taxonomy.vocabulary.site_sections
|
||||
module:
|
||||
- taxonomy
|
||||
id: node.section_page.field_site_section
|
||||
@@ -21,7 +21,7 @@ settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
site_section: site_section
|
||||
site_sections: site_sections
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
|
||||
@@ -3,7 +3,7 @@ status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
- site_structure
|
||||
- structural_pages
|
||||
id: content_page
|
||||
label: 'Content Page'
|
||||
type: 'canonical_entities:node'
|
||||
|
||||
@@ -3,7 +3,7 @@ status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
- site_structure
|
||||
- structural_pages
|
||||
id: section_page
|
||||
label: 'Section Page'
|
||||
type: 'canonical_entities:node'
|
||||
|
||||
@@ -2,10 +2,10 @@ langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- site_structure
|
||||
- structural_pages
|
||||
- taxonomy
|
||||
id: site_section_term
|
||||
label: 'Site Section Term'
|
||||
id: site_sections_term
|
||||
label: 'Site Sections Term'
|
||||
type: 'canonical_entities:taxonomy_term'
|
||||
pattern: '[term:hierarchy-path]'
|
||||
selection_logic: and
|
||||
@@ -16,5 +16,5 @@ selection_criteria:
|
||||
context_mapping:
|
||||
taxonomy_term: taxonomy_term
|
||||
bundles:
|
||||
site_section: site_section
|
||||
site_sections: site_sections
|
||||
weight: 0
|
||||
@@ -4,7 +4,7 @@ allowed_parent_targets:
|
||||
- entity_type: node
|
||||
bundle: section_page
|
||||
- entity_type: taxonomy_term
|
||||
bundle: site_section
|
||||
bundle: site_sections
|
||||
- entity_type: user
|
||||
bundle: user
|
||||
- entity_type: group
|
||||
@@ -1,7 +1,7 @@
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
name: 'Site Section'
|
||||
vid: site_section
|
||||
name: 'Site Sections'
|
||||
vid: site_sections
|
||||
description: 'Main hierarchical structure for site organization.'
|
||||
weight: 0
|
||||
@@ -240,7 +240,7 @@ display:
|
||||
display_options:
|
||||
display_extenders: { }
|
||||
block_description: 'Child Pages'
|
||||
block_category: 'Site Structure'
|
||||
block_category: 'Structural Pages'
|
||||
cache_metadata:
|
||||
max-age: -1
|
||||
contexts:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
site_structure.settings:
|
||||
structural_pages.settings:
|
||||
type: config_object
|
||||
label: 'Site Structure settings'
|
||||
label: 'Structural Pages settings'
|
||||
mapping:
|
||||
allowed_parent_targets:
|
||||
type: sequence
|
||||
Reference in New Issue
Block a user