[FEATURE] Hide "duplicate" button by default 86/56686/3
authorRens Admiraal <rens@simplyadmire.com>
Mon, 16 Apr 2018 14:13:05 +0000 (16:13 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Tue, 17 Apr 2018 11:35:42 +0000 (13:35 +0200)
commita0d0752efd10f53ebac60d8a38e9b33f14a89c75
tree5e6b8eaf1f398dc289763974c8fbf705782c8d2b
parent85c8d65e7d566b6d2e6c0eb5ad256b30fd6102e2
[FEATURE] Hide "duplicate" button by default

Hides the "duplicate" button in TCEFORMs by default as it serves
a very specific usecase best enabled on a table basis.

Example snippet:
```
options.showDuplicate = 1
options.showDuplicate.[table] = 1
```

Resolves: #84749
Releases: master
Change-Id: Ia15202e197b81ff4d97f6e71b673910ec7cded93
Reviewed-on: https://review.typo3.org/56686
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/core/Documentation/Changelog/master/Feature-84749-HideDuplicateButtonByDefault.rst [new file with mode: 0644]