Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • backend
  • Classes
  • Controller
  • PageLayoutController.php
Find file BlameHistoryPermalink
  • Oliver Bartsch's avatar
    [TASK] Enforce shortcut title to be set by controllers · 9dbd2767
    Oliver Bartsch authored Dec 11, 2020 and Benni Mack's avatar Benni Mack committed Dec 14, 2020
    The ShortcutRepository should not deal with generating
    shortcut titles based on the provided arguments. This can
    never be reliable, especially for custom extension code.
    The appropriate title must be set by the calling controller
    since this is the place where all necessary information,
    to define such title, are available.
    
    Therefore, adding a new shortcut button without defining
    a display name is deprecated. All Core controllers are
    adjusted to provide the necessary title themself.
    
    Resolves: #93060
    Releases: master
    Change-Id: Ic15fe13769dec841868977a862464f8dd3c73c42
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67096
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    9dbd2767