mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/structural_pages.git
synced 2026-03-09 18:07:42 -03:00
- Add field_redirect_page to site_sections taxonomy terms, with a custom EntityReferenceSelection plugin that filters content_page nodes by section - Redirect taxonomy term canonical URLs to the configured node (301) - Fix root page detection in MenuBlock and views to also match nodes whose field_parent_page points to a taxonomy_term (not only empty parent) - Move root taxonomy-term option to the top of the parent-page dropdown - Add breadcrumb workaround for Gavias notech theme separator rendering - Add imecc_menu_helper submodule - Translate config labels and default terms from English to Portuguese Co-Authored-By: Henrique Bauer <henrique@webcontent.com.br> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
731 B
YAML
30 lines
731 B
YAML
langcode: en
|
|
status: true
|
|
dependencies:
|
|
config:
|
|
- field.storage.node.field_site_section
|
|
- node.type.content_page
|
|
- taxonomy.vocabulary.site_sections
|
|
module:
|
|
- taxonomy
|
|
id: node.content_page.field_site_section
|
|
field_name: field_site_section
|
|
entity_type: node
|
|
bundle: content_page
|
|
label: 'Seção do Site'
|
|
description: 'For root pages, select the section. For child pages, this field is filled automatically.'
|
|
required: true
|
|
translatable: false
|
|
default_value: { }
|
|
default_value_callback: ''
|
|
settings:
|
|
handler: 'default:taxonomy_term'
|
|
handler_settings:
|
|
target_bundles:
|
|
site_sections: site_sections
|
|
sort:
|
|
field: name
|
|
direction: asc
|
|
auto_create: false
|
|
field_type: entity_reference
|