File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22declare (strict_types=1 );
33defined ('TYPO3 ' ) or die ();
4- use TYPO3 \CMS \Core \Information \Typo3Version ;
54use TYPO3 \CMS \Core \Utility \ExtensionManagementUtility ;
65use TYPO3 \CMS \Core \Utility \GeneralUtility ;
76
8- $ versionInformation = GeneralUtility::makeInstance (Typo3Version::class);
9- // Only include page.tsconfig if TYPO3 version is below 12 so that it is not imported twice.
10- if ($ versionInformation ->getMajorVersion () > 13 ) {
11- ExtensionManagementUtility::addPageTSConfig ('
12- @import "EXT:content_blocks_bootstrap/Configuration/page.tsconfig"
13- ' );
14- }
7+
8+ ExtensionManagementUtility::addPageTSConfig ('
9+ @import "EXT:content_blocks_bootstrap/Configuration/page.tsconfig"
10+ ' );
11+
12+ ExtensionManagementUtility::addTypoScript (
13+ 'content_blocks_bootstrap ' ,
14+ 'setup ' ,
15+ '@import "EXT:content_blocks_bootstrap/Configuration/setup.typoscript" '
16+ );
You can’t perform that action at this time.
0 commit comments