Files
structural_pages/config/schema/structural_pages.schema.yml
Quintino A. G. Souza 36c3a2e9c0 Altera lógica de Site Section e adiciona redirect em content_page
- Adiciona campo field_redirect_link (link) no bundle content_page;
  EventSubscriber emite redirect 301 quando o campo está preenchido
- field_site_section passa a ser obrigatório
- Formulário de content_page: AJAX no site section, select hierárquico
  de página pai filtrado por seção, validação customizada
- StructuralPagesMenuBlock: MAX_DEPTH 10→50, nova lógica de raiz via
  field_site_section, variável ancestor_url no render array
- Template do menu: novas classes BEM/Gva, suporte a is_redirect,
  usa ancestor_url em vez de chamada Twig direta
- CSS do menu reescrito com estilos flyout/sidebar; Select2 adicionado
  para o campo de página pai no formulário admin
- display_submitted desabilitado no tipo content_page

Co-Authored-By: Bauer <henrique@webcontent.com.br>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 08:04:43 -03:00

34 lines
814 B
YAML

structural_pages.settings:
type: config_object
label: 'Structural Pages settings'
mapping:
site_section_vocabulary:
type: string
label: 'Site section vocabulary'
allowed_parent_targets:
type: sequence
label: 'Allowed parent targets'
sequence:
type: mapping
mapping:
entity_type:
type: string
label: 'Entity type'
bundle:
type: string
label: 'Bundle'
block.settings.structural_pages_menu:
type: block_settings
label: 'Structural Pages Menu Block'
mapping:
max_depth:
type: integer
label: 'Maximum depth'
show_ancestor_title:
type: boolean
label: 'Show ancestor title'
expand_active_trail:
type: boolean
label: 'Expand active trail'