Rename module site_structure → structural_pages and vocabulary site_section → site_sections

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>
This commit is contained in:
2026-02-05 08:10:32 -03:00
parent 7c898ad339
commit 88b9605408
37 changed files with 545 additions and 281 deletions

View File

@@ -2,19 +2,19 @@
declare(strict_types=1);
namespace Drupal\site_structure_group\Plugin\ParentEntityHandler;
namespace Drupal\structural_pages_group\Plugin\ParentEntityHandler;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\group\Entity\GroupInterface;
use Drupal\site_structure\Attribute\ParentEntityHandler;
use Drupal\site_structure\ParentEntityHandler\ParentEntityHandlerBase;
use Drupal\structural_pages\Attribute\ParentEntityHandler;
use Drupal\structural_pages\ParentEntityHandler\ParentEntityHandlerBase;
/**
* Handler for group entities.
*
* This handler is provided by the site_structure_group submodule and is only
* This handler is provided by the structural_pages_group submodule and is only
* available when the Group module is installed.
*/
#[ParentEntityHandler(

View File

@@ -1,8 +1,8 @@
name: 'Site Structure Group Integration'
name: 'Structural Pages Group Integration'
type: module
description: 'Provides Group entity support as parent type for Site Structure module.'
package: 'Site Structure'
description: 'Provides Group entity support as parent type for Structural Pages module.'
package: 'Structural Pages'
core_version_requirement: ^10.3 || ^11
dependencies:
- site_structure:site_structure
- structural_pages:structural_pages
- group:group