[TASK] Add backend routes for wizards (part 2) 47/42447/5
authorManuel Selbach <manuel_selbach@yahoo.de>
Sun, 9 Aug 2015 09:32:03 +0000 (11:32 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 9 Aug 2015 21:07:20 +0000 (23:07 +0200)
Move all wizards to the Backend Routing for extension backend

Resolves: #68881
Releases: master
Change-Id: I76122ab0f40ba5aa97f28531a5a55efde28cff22
Reviewed-on: http://review.typo3.org/42447
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
23 files changed:
typo3/sysext/backend/Classes/Controller/BackendLayoutWizardController.php
typo3/sysext/backend/Classes/Controller/Wizard/AddController.php
typo3/sysext/backend/Classes/Controller/Wizard/ColorpickerController.php
typo3/sysext/backend/Classes/Controller/Wizard/EditController.php
typo3/sysext/backend/Classes/Controller/Wizard/ListController.php
typo3/sysext/backend/Classes/Controller/Wizard/RteController.php
typo3/sysext/backend/Classes/Controller/Wizard/TableController.php
typo3/sysext/backend/Configuration/Backend/Routes.php
typo3/sysext/backend/Modules/Wizards/AddWizard/conf.php [deleted file]
typo3/sysext/backend/Modules/Wizards/AddWizard/index.php [deleted file]
typo3/sysext/backend/Modules/Wizards/BackendLayoutWizard/conf.php [deleted file]
typo3/sysext/backend/Modules/Wizards/BackendLayoutWizard/index.php [deleted file]
typo3/sysext/backend/Modules/Wizards/ColorpickerWizard/conf.php [deleted file]
typo3/sysext/backend/Modules/Wizards/ColorpickerWizard/index.php [deleted file]
typo3/sysext/backend/Modules/Wizards/EditWizard/conf.php [deleted file]
typo3/sysext/backend/Modules/Wizards/EditWizard/index.php [deleted file]
typo3/sysext/backend/Modules/Wizards/ListWizard/conf.php [deleted file]
typo3/sysext/backend/Modules/Wizards/ListWizard/index.php [deleted file]
typo3/sysext/backend/Modules/Wizards/RteWizard/conf.php [deleted file]
typo3/sysext/backend/Modules/Wizards/RteWizard/index.php [deleted file]
typo3/sysext/backend/Modules/Wizards/TableWizard/conf.php [deleted file]
typo3/sysext/backend/Modules/Wizards/TableWizard/index.php [deleted file]
typo3/sysext/backend/ext_tables.php

index 29f5a77..dd4f46d 100644 (file)
@@ -14,6 +14,9 @@ namespace TYPO3\CMS\Backend\Controller;
  * The TYPO3 project - inspiring people to share!
  */
 
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Backend\Template\DocumentTemplate;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Backend\Utility\IconUtility;
@@ -28,7 +31,7 @@ use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
 /**
  * Script Class for grid wizard
  */
-class BackendLayoutWizardController {
+class BackendLayoutWizardController implements \TYPO3\CMS\Core\Http\ControllerInterface {
 
        // GET vars:
        // Wizard parameters, coming from TCEforms linking to the wizard.
@@ -61,6 +64,13 @@ class BackendLayoutWizardController {
        public $fieldName;
 
        /**
+        * Constructor
+        */
+       public function __construct(){
+               $this->init();
+       }
+
+       /**
         * Initialises the Class
         *
         * @return void
@@ -197,6 +207,22 @@ class BackendLayoutWizardController {
        }
 
        /**
+        * Injects the request object for the current request or subrequest
+        * As this controller goes only through the main() method, it is rather simple for now
+        *
+        * @param ServerRequestInterface $request
+        * @return ResponseInterface $response
+        */
+       public function processRequest(ServerRequestInterface $request) {
+               $this->main();
+
+               /** @var Response $response */
+               $response = GeneralUtility::makeInstance(Response::class);
+               $response->getBody()->write($this->doc->render('Grid wizard', $this->content));
+               return $response;
+       }
+
+       /**
         * Main Method, rendering either colorpicker or frameset depending on ->showPicker
         *
         * @return void
@@ -245,8 +271,10 @@ class BackendLayoutWizardController {
         * Returns the sourcecode to the browser
         *
         * @return void
+        * @deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, use processRequest() instead
         */
        public function printContent() {
+               GeneralUtility::logDeprecatedFunction();
                echo $this->doc->render('Grid wizard', $this->content);
        }
 
index 671c5c1..3dce516 100644 (file)
@@ -14,6 +14,9 @@ namespace TYPO3\CMS\Backend\Controller\Wizard;
  * The TYPO3 project - inspiring people to share!
  */
 
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Backend\Form\DataPreprocessor;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools;
@@ -25,7 +28,7 @@ use TYPO3\CMS\Core\Utility\MathUtility;
 /**
  * Script Class for adding new items to a group/select field. Performs proper redirection as needed.
  */
-class AddController extends AbstractWizardController {
+class AddController extends AbstractWizardController implements \TYPO3\CMS\Core\Http\ControllerInterface {
 
        /**
         * Content accumulation for the module.
@@ -138,6 +141,21 @@ class AddController extends AbstractWizardController {
        }
 
        /**
+        * Injects the request object for the current request or subrequest
+        * As this controller goes only through the main() method, it is rather simple for now
+        *
+        * @param ServerRequestInterface $request
+        * @return ResponseInterface $response
+        */
+       public function processRequest(ServerRequestInterface $request) {
+               $this->main();
+
+               /** @var Response $response */
+               $response = GeneralUtility::makeInstance(Response::class);
+               return $response;
+       }
+
+       /**
         * Main function
         * Will issue a location-header, redirecting either BACK or to a new FormEngine instance...
         *
index 16f35f1..5199bf2 100644 (file)
@@ -14,6 +14,9 @@ namespace TYPO3\CMS\Backend\Controller\Wizard;
  * The TYPO3 project - inspiring people to share!
  */
 
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Backend\Template\DocumentTemplate;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Core\Page\PageRenderer;
@@ -22,7 +25,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 /**
  * Script Class for colorpicker wizard
  */
-class ColorpickerController extends AbstractWizardController {
+class ColorpickerController extends AbstractWizardController implements \TYPO3\CMS\Core\Http\ControllerInterface {
 
        /**
         * Wizard parameters, coming from FormEngine linking to the wizard.
@@ -195,6 +198,25 @@ class ColorpickerController extends AbstractWizardController {
        }
 
        /**
+        * Injects the request object for the current request or subrequest
+        * As this controller goes only through the main() method, it is rather simple for now
+        *
+        * @param ServerRequestInterface $request
+        * @return ResponseInterface $response
+        */
+       public function processRequest(ServerRequestInterface $request) {
+               $this->main();
+
+               $this->content .= $this->doc->endPage();
+               $this->content = $this->doc->insertStylesAndJS($this->content);
+
+               /** @var Response $response */
+               $response = GeneralUtility::makeInstance(Response::class);
+               $response->getBody()->write($this->content);
+               return $response;
+       }
+
+       /**
         * Main Method, rendering either colorpicker or frameset depending on ->showPicker
         *
         * @return void
@@ -252,8 +274,10 @@ class ColorpickerController extends AbstractWizardController {
         * Returns the sourcecode to the browser
         *
         * @return void
+        * @deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, use processRequest() instead
         */
        public function printContent() {
+               GeneralUtility::logDeprecatedFunction();
                $this->content .= $this->doc->endPage();
                $this->content = $this->doc->insertStylesAndJS($this->content);
                echo $this->content;
index cd2514f..a4caf76 100644 (file)
@@ -14,6 +14,9 @@ namespace TYPO3\CMS\Backend\Controller\Wizard;
  * The TYPO3 project - inspiring people to share!
  */
 
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Core\Database\RelationHandler;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
@@ -22,7 +25,7 @@ use TYPO3\CMS\Core\Utility\HttpUtility;
 /**
  * Script Class for redirecting a backend user to the editing form when an "Edit wizard" link was clicked in FormEngine somewhere
  */
-class EditController extends AbstractWizardController {
+class EditController extends AbstractWizardController implements \TYPO3\CMS\Core\Http\ControllerInterface {
 
        /**
         * Wizard parameters, coming from FormEngine linking to the wizard.
@@ -39,6 +42,13 @@ class EditController extends AbstractWizardController {
        public $doClose;
 
        /**
+        * A little JavaScript to close the open window.
+        *
+        * @var string
+        */
+       protected $closeWindow = '<script language="javascript" type="text/javascript">close();</script>';
+
+       /**
         * Constructor
         */
        public function __construct() {
@@ -60,14 +70,30 @@ class EditController extends AbstractWizardController {
        }
 
        /**
+        * Injects the request object for the current request or subrequest
+        * As this controller goes only through the main() method, it is rather simple for now
+        *
+        * @param ServerRequestInterface $request
+        * @return ResponseInterface $response
+        */
+       public function processRequest(ServerRequestInterface $request) {
+               $content = $this->main();
+
+               /** @var Response $response */
+               $response = GeneralUtility::makeInstance(Response::class);
+               $response->getBody()->write($content);
+               return $response;
+       }
+
+       /**
         * Main function
         * Makes a header-location redirect to an edit form IF POSSIBLE from the passed data - otherwise the window will just close.
         *
-        * @return void
+        * @return string
         */
        public function main() {
                if ($this->doClose) {
-                       $this->closeWindow();
+                       return $this->closeWindow;
                }
                // Initialize:
                $table = $this->P['table'];
@@ -105,7 +131,7 @@ class EditController extends AbstractWizardController {
                        $url = BackendUtility::getModuleUrl('record_edit', $urlParameters);
                        HttpUtility::redirect($url);
                } else {
-                       $this->closeWindow();
+                       return $this->closeWindow;
                }
        }
 
@@ -113,9 +139,11 @@ class EditController extends AbstractWizardController {
         * Printing a little JavaScript to close the open window.
         *
         * @return void
+        * @deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8
         */
        public function closeWindow() {
-               echo '<script language="javascript" type="text/javascript">close();</script>';
+               GeneralUtility::logDeprecatedFunction();
+               echo $this->closeWindow;
                die;
        }
 
index bf28218..2616c23 100644 (file)
@@ -14,13 +14,16 @@ namespace TYPO3\CMS\Backend\Controller\Wizard;
  * The TYPO3 project - inspiring people to share!
  */
 
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
 /**
  * Script Class for redirecting the user to the Web > List module if a wizard-link has been clicked in FormEngine
  */
-class ListController extends AbstractWizardController {
+class ListController extends AbstractWizardController implements \TYPO3\CMS\Core\Http\ControllerInterface {
 
        /**
         * @var int
@@ -60,6 +63,21 @@ class ListController extends AbstractWizardController {
        }
 
        /**
+        * Injects the request object for the current request or subrequest
+        * As this controller goes only through the main() method, it is rather simple for now
+        *
+        * @param ServerRequestInterface $request
+        * @return ResponseInterface $response
+        */
+       public function processRequest(ServerRequestInterface $request) {
+               $this->main();
+
+               /** @var Response $response */
+               $response = GeneralUtility::makeInstance(Response::class);
+               return $response;
+       }
+
+       /**
         * Main function
         * Will issue a location-header, redirecting either BACK or to a new FormEngine instance...
         *
index e719660..d7c5b10 100644 (file)
@@ -14,6 +14,9 @@ namespace TYPO3\CMS\Backend\Controller\Wizard;
  * The TYPO3 project - inspiring people to share!
  */
 
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Backend\Form\DataPreprocessor;
 use TYPO3\CMS\Backend\Form\FormEngine;
 use TYPO3\CMS\Backend\Form\Utility\FormEngineUtility;
@@ -27,7 +30,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 /**
  * Script class for rendering the full screen RTE display
  */
-class RteController extends AbstractWizardController {
+class RteController extends AbstractWizardController implements \TYPO3\CMS\Core\Http\ControllerInterface {
 
        /**
         * Document template object
@@ -109,6 +112,22 @@ class RteController extends AbstractWizardController {
        }
 
        /**
+        * Injects the request object for the current request or subrequest
+        * As this controller goes only through the main() method, it is rather simple for now
+        *
+        * @param ServerRequestInterface $request
+        * @return ResponseInterface $response
+        */
+       public function processRequest(ServerRequestInterface $request) {
+               $this->main();
+
+               /** @var Response $response */
+               $response = GeneralUtility::makeInstance(Response::class);
+               $response->getBody()->write($this->content);
+               return $response;
+       }
+
+       /**
         * Main function, rendering the document with the iFrame with the RTE in.
         *
         * @return void
@@ -198,8 +217,10 @@ class RteController extends AbstractWizardController {
         * Outputting the accumulated content to screen
         *
         * @return void
+        * @deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, use processRequest() instead
         */
        public function printContent() {
+               GeneralUtility::logDeprecatedFunction();
                echo $this->content;
        }
 
index 49f6aca..b69fa97 100644 (file)
@@ -14,6 +14,9 @@ namespace TYPO3\CMS\Backend\Controller\Wizard;
  * The TYPO3 project - inspiring people to share!
  */
 
+use Psr\Http\Message\ServerRequestInterface;
+use Psr\Http\Message\ResponseInterface;
+use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Backend\Template\DocumentTemplate;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Backend\Utility\IconUtility;
@@ -29,7 +32,7 @@ use TYPO3\CMS\Core\Utility\StringUtility;
 /**
  * Script Class for rendering the Table Wizard
  */
-class TableController extends AbstractWizardController {
+class TableController extends AbstractWizardController implements \TYPO3\CMS\Core\Http\ControllerInterface {
 
        /**
         * Document template object
@@ -146,6 +149,22 @@ class TableController extends AbstractWizardController {
        }
 
        /**
+        * Injects the request object for the current request or subrequest
+        * As this controller goes only through the main() method, it is rather simple for now
+        *
+        * @param ServerRequestInterface $request
+        * @return ResponseInterface $response
+        */
+       public function processRequest(ServerRequestInterface $request) {
+               $this->main();
+
+               /** @var Response $response */
+               $response = GeneralUtility::makeInstance(Response::class);
+               $response->getBody()->write($this->content);
+               return $response;
+       }
+
+       /**
         * Main function, rendering the table wizard
         *
         * @return void
@@ -171,8 +190,10 @@ class TableController extends AbstractWizardController {
         * Outputting the accumulated content to screen
         *
         * @return void
+        * @deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, use processRequest() instead
         */
        public function printContent() {
+               GeneralUtility::logDeprecatedFunction();
                echo $this->content;
        }
 
index 9b2aea2..be5a19e 100644 (file)
@@ -31,5 +31,47 @@ return [
        'logout' => [
                'path' => '/logout',
                'controller' => Controller\LogoutController::class
-       ]
+       ],
+
+       // Register backend_layout wizard
+       'wizard_backend_layout' => [
+               'path' => '/wizard/backendlayout',
+               'controller' => \TYPO3\CMS\Backend\Controller\BackendLayoutWizardController::class
+       ],
+
+       // Register colorpicker wizard
+       'wizard_colorpicker' => [
+               'path' => '/wizard/colorpicker',
+               'controller' => \TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController::class
+       ],
+
+       // Register table wizard
+       'wizard_table' => [
+               'path' => '/wizard/table',
+               'controller' => \TYPO3\CMS\Backend\Controller\Wizard\TableController::class
+       ],
+
+       // Register rte wizard
+       'wizard_rte' => [
+               'path' => '/wizard/rte',
+               'controller' => \TYPO3\CMS\Backend\Controller\Wizard\RteController::class
+       ],
+
+       // Register add wizard
+       'wizard_add' => [
+               'path' => '/wizard/add',
+               'controller' => \TYPO3\CMS\Backend\Controller\Wizard\AddController::class
+       ],
+
+       // Register list wizard
+       'wizard_list' => [
+               'path' => '/wizard/list',
+               'controller' => \TYPO3\CMS\Backend\Controller\Wizard\ListController::class
+       ],
+
+       // Register edit wizard
+       'wizard_edit' => [
+               'path' => '/wizard/edit',
+               'controller' => \TYPO3\CMS\Backend\Controller\Wizard\EditController::class
+       ],
 ];
diff --git a/typo3/sysext/backend/Modules/Wizards/AddWizard/conf.php b/typo3/sysext/backend/Modules/Wizards/AddWizard/conf.php
deleted file mode 100644 (file)
index 115c3f5..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$MCONF['name'] = 'wizard_add';
-$MCONF['script'] = '_DISPATCH';
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/AddWizard/index.php b/typo3/sysext/backend/Modules/Wizards/AddWizard/index.php
deleted file mode 100644 (file)
index 88a84c3..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Wizard to add new records to a group/select TCEform formfield
- */
-$editController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\Wizard\AddController::class);
-$editController->main();
diff --git a/typo3/sysext/backend/Modules/Wizards/BackendLayoutWizard/conf.php b/typo3/sysext/backend/Modules/Wizards/BackendLayoutWizard/conf.php
deleted file mode 100644 (file)
index 649e684..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$MCONF['name'] = 'wizard_backend_layout';
-$MCONF['script'] = '_DISPATCH';
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/BackendLayoutWizard/index.php b/typo3/sysext/backend/Modules/Wizards/BackendLayoutWizard/index.php
deleted file mode 100644 (file)
index 646c5d8..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Grid wizard
- */
-$backendLayoutWizardController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\BackendLayoutWizardController::class);
-$backendLayoutWizardController->init();
-$backendLayoutWizardController->main();
-$backendLayoutWizardController->printContent();
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/ColorpickerWizard/conf.php b/typo3/sysext/backend/Modules/Wizards/ColorpickerWizard/conf.php
deleted file mode 100644 (file)
index 9e2a5a7..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$MCONF['name'] = 'wizard_colorpicker';
-$MCONF['script'] = '_DISPATCH';
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/ColorpickerWizard/index.php b/typo3/sysext/backend/Modules/Wizards/ColorpickerWizard/index.php
deleted file mode 100644 (file)
index 8c73e82..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Wizard for choosing colors in TCEforms
- */
-$colorpickerController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\Wizard\ColorpickerController::class);
-$colorpickerController->main();
-$colorpickerController->printContent();
diff --git a/typo3/sysext/backend/Modules/Wizards/EditWizard/conf.php b/typo3/sysext/backend/Modules/Wizards/EditWizard/conf.php
deleted file mode 100644 (file)
index 8dcafd3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$MCONF['name'] = 'wizard_edit';
-$MCONF['script'] = '_DISPATCH';
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/EditWizard/index.php b/typo3/sysext/backend/Modules/Wizards/EditWizard/index.php
deleted file mode 100644 (file)
index f57bbe0..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Wizard to edit records from group/select lists in TCEforms
- */
-$editController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\Wizard\EditController::class);
-$editController->main();
diff --git a/typo3/sysext/backend/Modules/Wizards/ListWizard/conf.php b/typo3/sysext/backend/Modules/Wizards/ListWizard/conf.php
deleted file mode 100644 (file)
index 6651975..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$MCONF['name'] = 'wizard_list';
-$MCONF['script'] = '_DISPATCH';
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/ListWizard/index.php b/typo3/sysext/backend/Modules/Wizards/ListWizard/index.php
deleted file mode 100644 (file)
index 06da687..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Wizard to list records from a page id.
- */
-$listController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\Wizard\ListController::class);
-$listController->main();
diff --git a/typo3/sysext/backend/Modules/Wizards/RteWizard/conf.php b/typo3/sysext/backend/Modules/Wizards/RteWizard/conf.php
deleted file mode 100644 (file)
index 2ca1297..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$MCONF['name'] = 'wizard_rte';
-$MCONF['script'] = '_DISPATCH';
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/RteWizard/index.php b/typo3/sysext/backend/Modules/Wizards/RteWizard/index.php
deleted file mode 100644 (file)
index 2c59f3d..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Wizard to display the RTE in "full screen" mode
- */
-\TYPO3\CMS\Backend\Utility\BackendUtility::lockRecords();
-
-$rteController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\Wizard\RteController::class);
-$rteController->main();
-$rteController->printContent();
diff --git a/typo3/sysext/backend/Modules/Wizards/TableWizard/conf.php b/typo3/sysext/backend/Modules/Wizards/TableWizard/conf.php
deleted file mode 100644 (file)
index 4780d0b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$MCONF['name'] = 'wizard_table';
-$MCONF['script'] = '_DISPATCH';
-$MCONF['access'] = '';
\ No newline at end of file
diff --git a/typo3/sysext/backend/Modules/Wizards/TableWizard/index.php b/typo3/sysext/backend/Modules/Wizards/TableWizard/index.php
deleted file mode 100644 (file)
index 4699a2f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Wizard to help make tables (eg. for tt_content elements) of type "table".
- * Each line is a table row, each cell divided by a |
- */
-$tableController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Controller\Wizard\TableController::class);
-$tableController->main();
-$tableController->printContent();
index 88620a9..a23dd61 100644 (file)
@@ -69,48 +69,6 @@ if (TYPO3_MODE === 'BE') {
                'EXT:backend/Modules/File/Administration/'
        );
 
-       // Register edit wizard
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
-               'wizard_edit',
-               'EXT:backend/Modules/Wizards/EditWizard/'
-       );
-
-       // Register add wizard
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
-               'wizard_add',
-               'EXT:backend/Modules/Wizards/AddWizard/'
-       );
-
-       // Register list wizard
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
-               'wizard_list',
-               'EXT:backend/Modules/Wizards/ListWizard/'
-       );
-
-       // Register table wizard
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
-               'wizard_table',
-               'EXT:backend/Modules/Wizards/TableWizard/'
-       );
-
-       // Register rte wizard
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
-               'wizard_rte',
-               'EXT:backend/Modules/Wizards/RteWizard/'
-       );
-
-       // Register colorpicker wizard
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
-               'wizard_colorpicker',
-               'EXT:backend/Modules/Wizards/ColorpickerWizard/'
-       );
-
-       // Register backend_layout wizard
-       \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
-               'wizard_backend_layout',
-               'EXT:backend/Modules/Wizards/BackendLayoutWizard/'
-       );
-
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
                'web',
                'layout',