Commit a9d1b7d3 authored by Frank Nägler's avatar Frank Nägler Committed by Anja Leichsenring
Browse files

[TASK] Deprecate Clipboard->confirmMsg()

Resolves: #73744
Releases: master
Change-Id: I3780404c4362d1de84981eaee77298cdc1c3e399

Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: Jan Helke's avatarJan Helke <>
Tested-by: Jan Helke's avatarJan Helke <>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <>
parent e3e3916e
......@@ -706,9 +706,11 @@ class Clipboard
* @param array $clElements Array of selected elements
* @param string $columnLabel Name of the content column
* @return string JavaScript "confirm" message
* @deprecated since TYPO3 v8, will be removed in TYPO3 v9
public function confirmMsg($table, $rec, $type, $clElements, $columnLabel = '')
$message = $this->confirmMsgText($table, $rec, $type, $clElements, $columnLabel);
if (!empty($message)) {
$message = 'confirm(' . GeneralUtility::quoteJSvalue($message) . ');';
Deprecation: #73744 - Deprecate Clipboard->confirmMsg()
Clipboard::confirmMsg has been marked as deprecated.
Using ``Clipboard::confirmMsg()`` will trigger a deprecation log entry.
Affected Installations
Any TYPO3 instance using a third-party extension using the PHP method above.
Use ``Clipboard::confirmMsgText()`` to get the confirm message and make use of the Modal API.
Supports Markdown
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