Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
    • 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
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • 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
Switch branch/tag
  • TYPO3.CMS
  • ..
  • Action
  • ShortcutButton.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