mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/structural_pages.git
synced 2026-03-10 02:17:42 -03:00
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>
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
langcode: en
|
|
status: true
|
|
dependencies:
|
|
config:
|
|
- field.storage.node.field_parent_page
|
|
- node.type.content_page
|
|
- node.type.section_page
|
|
- taxonomy.vocabulary.site_sections
|
|
module:
|
|
- dynamic_entity_reference
|
|
id: node.content_page.field_parent_page
|
|
field_name: field_parent_page
|
|
entity_type: node
|
|
bundle: content_page
|
|
label: 'Parent Page'
|
|
description: 'Select the parent entity. The site section will be inherited automatically based on the parent type.'
|
|
required: false
|
|
translatable: false
|
|
default_value: { }
|
|
default_value_callback: ''
|
|
settings:
|
|
entity_type_ids:
|
|
- node
|
|
- taxonomy_term
|
|
node:
|
|
handler: 'default:node'
|
|
handler_settings:
|
|
target_bundles:
|
|
content_page: content_page
|
|
section_page: section_page
|
|
sort:
|
|
field: title
|
|
direction: asc
|
|
auto_create: false
|
|
taxonomy_term:
|
|
handler: 'default:taxonomy_term'
|
|
handler_settings:
|
|
target_bundles:
|
|
site_sections: site_sections
|
|
sort:
|
|
field: name
|
|
direction: asc
|
|
auto_create: false
|
|
field_type: dynamic_entity_reference
|