Skip to content
Snippets Groups Projects
Commit ac1b1b27 authored by Benjamin Franzke's avatar Benjamin Franzke
Browse files

[TASK] Respect the AsCommand `hidden` constructor argument

Symfony's AsCommand attribute encodes `hidden = true` into
a trailing `|` for the name attribute. Drop that for our
command list and mark the command as hidden in the command
registry.

Resolves: #102292
Related: #101567
Releases: main, 12.4
Change-Id: I6415e3f5525764aab336bab20432c032e0665632
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81617


Tested-by: default avatarChris Müller <typo3@krue.ml>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarChris Müller <typo3@krue.ml>
parent 86e7fff4
Branches
Tags
Showing with 192 additions and 10 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment