mirror of
https://gitlab.unicamp.br/infimecc_drupal11_modules/structural_pages.git
synced 2026-03-11 02:47:42 -03:00
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:
@@ -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(
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user