mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/structural_pages.git
synced 2026-03-08 17:47:42 -03:00
Add a vocabulary selector to the settings form so the site section vocabulary is no longer hardcoded. Remove node bundle checkboxes (section_page/content_page are always included), keep user and group as configurable parent targets. All hardcoded 'site_sections' references in PHP replaced with dynamic config reads via helper. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
478 B
YAML
20 lines
478 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'
|