This repository was archived by the owner on May 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathext_tables.php
More file actions
36 lines (33 loc) · 1.43 KB
/
ext_tables.php
File metadata and controls
36 lines (33 loc) · 1.43 KB
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
<?php
defined('TYPO3_MODE') || die();
if (TYPO3_MODE === 'BE') {
$sphinxConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['sphinx']);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Causal.' . $_EXTKEY,
'help',
'documentation',
'top',
array(
'Documentation' => 'index,dashboard,render,convert,createExtensionProject',
'InteractiveViewer' => 'render,missingRestdoc,outdatedRestdoc',
'RestEditor' => 'edit,open,save,move,remove,renameDialog,rename,createDialog,createFile,createFolder,' .
'uploadDialog,upload,' .
'projectTree,autocomplete,accordionReferences,updateIntersphinx',
'Ajax' => 'addCustomProject,createCustomProject,editCustomProject,updateCustomProject,removeCustomProject',
),
array(
'access' => 'user,group',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/module-sphinx.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod_documentation.xlf',
)
);
/** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon('extensions-' . $_EXTKEY . '-download',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
array(
'source' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/download.png',
)
);
unset($iconRegistry);
}