TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
ext_tables.php
Go to the documentation of this file.
1
<?php
2
if
(!defined(
'TYPO3_MODE'
)) {
3
die
(
'Access denied.'
);
4
}
5
6
if
(
TYPO3_MODE
==
'BE'
&& !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
7
// Registers a Backend Module
8
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule
(
9
'TYPO3.CMS.'
. $_EXTKEY,
10
'tools'
,
// Make module a submodule of 'tools'
11
'language'
,
// Submodule key
12
'after:extensionmanager'
,
// Position
13
array(
14
// An array holding the controller-action-combinations that are accessible
15
'Language'
=>
'index, updateLanguageSelection, updateTranslation'
16
),
17
array(
18
'access'
=>
'admin'
,
19
'icon'
=>
'EXT:'
. $_EXTKEY .
'/ext_icon.gif'
,
20
'labels'
=>
'LLL:EXT:'
. $_EXTKEY .
'/Resources/Private/Language/locallang_mod_language.xlf'
,
21
)
22
);
23
}
TYPO3_MODE
const TYPO3_MODE
Definition:
init.php:40
die
die
Definition:
index.php:6
TYPO3\CMS\Extbase\Utility\ExtensionUtility\registerModule
static registerModule($extensionName, $mainModuleName='', $subModuleName='', $position='', array $controllerActions=array(), array $moduleConfiguration=array())
Definition:
ExtensionUtility.php:189
typo3
sysext
lang
ext_tables.php
Generated on Wed Aug 7 2019 09:52:17 for TYPO3 CMS by
1.8.13