forked from RozbehSharahi/bootstrap_grids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
50 lines (46 loc) · 2.21 KB
/
ext_localconf.php
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
if (!defined('TYPO3')) { die('Access denied.'); }
call_user_func(
function ($extConfString) {
// register icons
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'tx-bootstrapgrids-col2',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:bootstrap_grids/Resources/Public/Icons/gridlayout_col2.gif']
);
$iconRegistry->registerIcon(
'tx-bootstrapgrids-col3',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:bootstrap_grids/Resources/Public/Icons/gridlayout_col3.gif']
);
$iconRegistry->registerIcon(
'tx-bootstrapgrids-col4',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:bootstrap_grids/Resources/Public/Icons/gridlayout_col4.gif']
);
$iconRegistry->registerIcon(
'tx-bootstrapgrids-simpletabs',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:bootstrap_grids/Resources/Public/Icons/grid_simpletabs.png']
);
$iconRegistry->registerIcon(
'tx-bootstrapgrids-tabs4',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:bootstrap_grids/Resources/Public/Icons/grid_tabs4.png']
);
$iconRegistry->registerIcon(
'tx-bootstrapgrids-tabs6',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:bootstrap_grids/Resources/Public/Icons/grid_tabs6.png']
);
$iconRegistry->registerIcon(
'tx-bootstrapgrids-accordion',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:bootstrap_grids/Resources/Public/Icons/grid_accordion.png']
);
// Add pageTS config
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:bootstrap_grids/Configuration/TypoScript/pageTs/tsconfig.ts">');
},'bootstrap_grids'
);
?>