[TASK] Move felogin type icon registration 61/53961/2
authorMathias Brodala <mbrodala@pagemachine.de>
Thu, 7 Sep 2017 16:29:43 +0000 (18:29 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 9 Sep 2017 10:48:36 +0000 (12:48 +0200)
Resolves: #82350
Releases: master
Change-Id: I60280df8d62cc65250bf5edbf8c26a65dbb5f250
Reviewed-on: https://review.typo3.org/53961
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Riccardo De Contardi <erredeco@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/felogin/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/frontend/Configuration/TCA/tt_content.php

index 9a17214..2142815 100644 (file)
@@ -9,6 +9,8 @@ call_user_func(function () {
         'login'
     );
 
+    $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['login'] = 'mimetypes-x-content-login';
+
     // check if there is already a forms tab and add the item after that, otherwise
     // add the tab item as well
     $additionalCTypeItem = [
index b9763e8..756b261 100644 (file)
@@ -40,7 +40,6 @@ return [
             'table' => 'mimetypes-x-content-table',
             'uploads' => 'mimetypes-x-content-list-files',
             'list' => 'mimetypes-x-content-plugin',
-            'login' => 'mimetypes-x-content-login',
             'shortcut' => 'mimetypes-x-content-link',
             'script' => 'mimetypes-x-content-script',
             'div' => 'mimetypes-x-content-divider',