[TASK] Move and Namespace classes
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
6 // Module Web->View
7 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule($_EXTKEY, 'web', 'view', 'after:layout', array(
8 'View' => 'show'
9 ), array(
10 'icon' => 'EXT:viewpage/ext_icon.gif',
11 'labels' => ('LLL:EXT:' . $_EXTKEY) . '/Resources/Private/Language/locallang_mod.xlf',
12 'access' => 'user,group'
13 ));
14 }
15 ?>