From f2630d73c2d12e283a9245f82edcf37c927974b2 Mon Sep 17 00:00:00 2001 From: Torsten Oppermann <torsten@sgalinski.de> Date: Wed, 19 Sep 2018 15:42:27 +0200 Subject: [PATCH] [TASK] Add new configuration controller --- .../Controller/ConfigurationController.php | 49 +++++++++++++++++++ ext_tables.php | 1 + 2 files changed, 50 insertions(+) create mode 100644 Classes/Controller/ConfigurationController.php diff --git a/Classes/Controller/ConfigurationController.php b/Classes/Controller/ConfigurationController.php new file mode 100644 index 00000000..947958a1 --- /dev/null +++ b/Classes/Controller/ConfigurationController.php @@ -0,0 +1,49 @@ +<?php + +namespace SGalinski\SgMail\Controller; + +/*************************************************************** + * Copyright notice + * + * (c) sgalinski Internet Services (https://www.sgalinski.de) + * + * All rights reserved + * + * This script is part of the TYPO3 project. The TYPO3 project is + * free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * The GNU General Public License can be found at + * http://www.gnu.org/copyleft/gpl.html. + * + * This script is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * This copyright notice MUST APPEAR in all copies of the script! + ***************************************************************/ + +use TYPO3\CMS\Backend\Template\Components\DocHeaderComponent; +use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; + +/** + * Controller for the configuration mode of the backend module + */ +class ConfigurationController extends ActionController { + /** + * DocHeaderComponent + * + * @var DocHeaderComponent + */ + protected $docHeaderComponent; + + /** + * + */ + public function indexAction() { + + } +} diff --git a/ext_tables.php b/ext_tables.php index 13e821a2..d90304c6 100644 --- a/ext_tables.php +++ b/ext_tables.php @@ -12,6 +12,7 @@ if (!defined('TYPO3_MODE')) { [ 'Mail' => 'index, sendTestMail, empty, reset', 'Queue' => 'index, sendMail, export', + 'Configuration' => 'index', ], [ 'access' => 'user,group', -- GitLab