From b852b43ad5e447b500d15c55aa3613f8bfeb6cef Mon Sep 17 00:00:00 2001
From: Benni Mack <benni@typo3.org>
Date: Wed, 13 Jan 2016 08:27:32 +0100
Subject: [PATCH] [TASK] Move rtehtmlarea TypoScript to correct folder location

The accessibilityicons feature includes a file
within EXT:rtehtmlarea/res/. According to the rest of the
core conventions this is now moved to
EXT:rtehtmlarea/Configuration/TypoScript/.

Resolves: #72669
Releases: master
Change-Id: I8a1089f8e5ee93fa3c779fa937d72b269dfe3bb4
Reviewed-on: https://review.typo3.org/45858
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
---
 .../TypoScript/AccessibilityIcons}/setup.txt                    | 0
 typo3/sysext/rtehtmlarea/ext_localconf.php                      | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename typo3/sysext/rtehtmlarea/{res/accessibilityicons => Configuration/TypoScript/AccessibilityIcons}/setup.txt (100%)

diff --git a/typo3/sysext/rtehtmlarea/res/accessibilityicons/setup.txt b/typo3/sysext/rtehtmlarea/Configuration/TypoScript/AccessibilityIcons/setup.txt
similarity index 100%
rename from typo3/sysext/rtehtmlarea/res/accessibilityicons/setup.txt
rename to typo3/sysext/rtehtmlarea/Configuration/TypoScript/AccessibilityIcons/setup.txt
diff --git a/typo3/sysext/rtehtmlarea/ext_localconf.php b/typo3/sysext/rtehtmlarea/ext_localconf.php
index c6f3ed913134..287ae8ee9cbe 100644
--- a/typo3/sysext/rtehtmlarea/ext_localconf.php
+++ b/typo3/sysext/rtehtmlarea/ext_localconf.php
@@ -123,7 +123,7 @@ $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['plugins']['TYPO3Link']['a
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['enableAccessibilityIcons'] = $_EXTCONF['enableAccessibilityIcons'] ?: 0;
 if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['rtehtmlarea']['enableAccessibilityIcons']) {
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/AccessibilityIcons/pageTSConfig.txt">');
-    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('rtehtmlarea', 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/res/accessibilityicons/setup.txt">', 'defaultContentRendering');
+    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript('rtehtmlarea', 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/TypoScript/AccessibilityIcons/setup.txt">', 'defaultContentRendering');
 }
 
 // Register features that use the style attribute
-- 
GitLab