diff --git a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php index da285ad5bd45589ddc47fc60d23cc56b4684eaa4..f17549668d22f08d707b0dc6e1ed04af6d2b06b5 100644 --- a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php +++ b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php @@ -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) . ');'; diff --git a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-73744-DeprecateClipboard-confirmMsg.rst b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-73744-DeprecateClipboard-confirmMsg.rst new file mode 100644 index 0000000000000000000000000000000000000000..8025b7ab79bd32975a62977cc564f5c871d9ac91 --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-73744-DeprecateClipboard-confirmMsg.rst @@ -0,0 +1,26 @@ +======================================================= +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.