[!!!][FEATURE] Introduce Backend Routing
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Configuration / Backend / Routes.php
1 <?php
2 use TYPO3\CMS\Backend\Controller as Controller;
3
4 /**
5 * Definitions for routes provided by EXT:backend
6 * Contains all "regular" routes for entry points
7 *
8 * Please note that this setup is preliminary until all core use-cases are set up here.
9 * Especially some more properties regarding modules will be added until TYPO3 CMS 7 LTS, and might change.
10 *
11 * Currently the "access" property is only used so no token creation + validation is made,
12 * but will be extended further.
13 *
14 * @internal This is not a public API yet until TYPO3 CMS 7 LTS.
15 */
16 return [
17 // Login screen of the TYPO3 Backend
18 'login' => [
19 'path' => '/login',
20 'access' => 'public',
21 'controller' => Controller\LoginController::class
22 ],
23
24 // Main backend rendering setup (backend.php) for the TYPO3 Backend
25 'main' => [
26 'path' => '/main',
27 'controller' => Controller\BackendController::class
28 ],
29
30 // Logout script for the TYPO3 Backend
31 'logout' => [
32 'path' => '/logout',
33 'controller' => Controller\LogoutController::class
34 ]
35 ];