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>
The Plugin base class requires the parent constructor to be called
with the id and deriver parameters. This fixes a TypeError in
HookCollectorPass during container compilation.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace hardcoded entity type checks with a plugin-based architecture using
PHP 8 attributes. This allows adding new parent entity types without modifying
core module files.
Changes:
- Add ParentEntityHandler attribute, interface, base class, and manager
- Create built-in handlers for taxonomy_term, user, and node entities
- Move Group support to site_structure_group submodule (fixes class not found
error when Group module is not installed)
- Refactor SiteStructureSettingsForm to use handler manager
- Refactor SiteStructureMenuBlock to use handler manager
- Refactor SectionBreadcrumbBuilder to use handler manager
- Update site_structure.module to use handler manager for clearsSiteSection
- Update documentation and translations
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add section describing the dynamic menu block features,
configuration options, and usage instructions. Update file
structure and changelog.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implements SiteStructureMenuBlock that renders a navigation menu
from the ancestor entity (term, user, or group) through all
content_page hierarchies. Features configurable depth, active
trail highlighting, and proper cache invalidation.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Drupal module that provides hierarchical site structure management
with support for sections, categories, and content items. Includes
path aliases with tokens, breadcrumb integration, and admin interface.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>