Skip to content
Snippets Groups Projects
Commit faca515c authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Christian Kuhn
Browse files

[TASK] Avoid using hook for context menu settings

It's possible to assign additional attributes
to context menu items. Those attributes are
then available in the corresponding JavaScript
callback method.

Therefore, there is no need to add settings,
only used in the callback methods, globally
via BackendController hooks.

This patch removes such hook usages from
EXT:filelist and EXT:impexp, while adding
the corresponding settings as attributes
to the context menu items.

Resolves: #95131
Releases: master
Change-Id: I4972fb93a6c0007e19b848be1659553008f2c5ec
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70914


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent e9ffc87e
Branches
Tags
No related merge requests found
Showing
with 57 additions and 111 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