Skip to content
Snippets Groups Projects
Commit a9d1b7d3 authored by Frank Naegler's avatar Frank Naegler Committed by Anja Leichsenring
Browse files

[TASK] Deprecate Clipboard->confirmMsg()

Resolves: #73744
Releases: master
Change-Id: I3780404c4362d1de84981eaee77298cdc1c3e399
Reviewed-on: https://review.typo3.org/46959


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarJan Helke <typo3@helke.de>
Tested-by: default avatarJan Helke <typo3@helke.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent e3e3916e
Branches
Tags
No related merge requests found
......@@ -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 = '')
{
GeneralUtility::logDeprecatedFunction();
$message = $this->confirmMsgText($table, $rec, $type, $clElements, $columnLabel);
if (!empty($message)) {
$message = 'confirm(' . GeneralUtility::quoteJSvalue($message) . ');';
......
=======================================================
Deprecation: #73744 - Deprecate Clipboard->confirmMsg()
=======================================================
Description
===========
Clipboard::confirmMsg has been marked as deprecated.
Impact
======
Using ``Clipboard::confirmMsg()`` will trigger a deprecation log entry.
Affected Installations
======================
Any TYPO3 instance using a third-party extension using the PHP method above.
Migration
=========
Use ``Clipboard::confirmMsgText()`` to get the confirm message and make use of the Modal API.
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