forked from a-r-m-i-n/pw_teaser
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathext_localconf.php
More file actions
35 lines (28 loc) · 876 Bytes
/
Copy pathext_localconf.php
File metadata and controls
35 lines (28 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
declare(strict_types=1);
/* | This extension is made with love for TYPO3 CMS and is licensed
* | under GNU General Public License.
* |
* | (c) 2011-2022 Armin Vieweg <armin@v.ieweg.de>
*/
use PwTeaserTeam\PwTeaser\Controller\TeaserController;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
defined('TYPO3') or die();
ExtensionUtility::configurePlugin(
'pw_teaser',
'Pi1',
[
TeaserController::class => 'index',
],
[],
ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);
// Transitional: alias old list_type records to new CType until
// all installations have run the PwTeaserCTypeMigration wizard.
ExtensionManagementUtility::addTypoScript(
'pw_teaser',
'setup',
'tt_content.list.20.pwteaser_pi1 =< tt_content.pwteaser_pi1',
'defaultContentRendering'
);