forked from TYPO3-extensions/ExternalImport
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_tables.php
More file actions
23 lines (22 loc) · 738 Bytes
/
ext_tables.php
File metadata and controls
23 lines (22 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
// Avoid loading the module when in the frontend or the Install Tool
if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
// Register the backend module
Tx_Extbase_Utility_Extension::registerModule(
$_EXTKEY,
'user', // Make module a submodule of 'user'
'external_import', // Submodule key
'', // Position
array(
// An array holding the controller-action-combinations that are accessible
'Listing' => 'sync,noSync'
),
array(
'access' => 'user,group',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/moduleIcon.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xml'
)
);
}
?>