[TASK] Migrate ext:viewpage to extbase
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
7 // Module Web->View
8 Tx_Extbase_Utility_Extension::registerModule(
9 $_EXTKEY,
10 'web',
11 'view',
12 'after:layout',
13 array(
14 'View' => 'show',
15 ),
16 array(
17 'icon' => 'EXT:viewpage/ext_icon.gif',
18 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
19 'access' => 'user,group',
20 )
21 );
22 }
23 ?>