Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
  • TYPO3.CMS
  • ..
  • Mocks
  • Package1ServiceProviderMock.php
Find file Blame History Permalink
  • lolli's avatar
    [FEATURE] Add composer package name to backend routes · 84ceebc2
    lolli authored Jan 28, 2022 and bfr's avatar bfr committed Feb 18, 2022
    We have three files that define backend routes:
    
    * Configuration/Backend/Routes.php
    * Configuration/Backend/AjaxRoutes.php
    * Configuration/Backend/Modules.php
    
    Routes defined by these files now contain the
    composer package name ('name' attribute in composer.json)
    of the package that defined the route as option.
    
    Backend modules now have a getPackageName()
    method.
    
    This is useful as shown with #96962 and will
    likely find further usages in the future.
    
    Change-Id: Ifa20f11ee7caa470eb2a1eed9e4ddf3ede088a54
    Resolves: #96961
    Related: #96962
    Related: #96733
    Releases: main
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73191
    
    
    Tested-by: default avatarcore-ci <typo3@b13.com>
    Tested-by: default avatarOliver Bartsch <bo@cedev.de>
    Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
    Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
    84ceebc2