-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathext_localconf.php
More file actions
executable file
·21 lines (18 loc) · 965 Bytes
/
ext_localconf.php
File metadata and controls
executable file
·21 lines (18 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
call_user_func(function () {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:form/Resources/Private/Language/Database.xlf'][] =
'EXT:db_friendlycaptcha/Resources/Private/Language/Backend.xlf';
/** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
't3-form-icon-friendlycaptcha',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:db_friendlycaptcha/Resources/Public/Icons/friendlycaptcha.svg']
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup('
module.tx_form.settings.yamlConfigurations {
1998 = EXT:db_friendlycaptcha/Configuration/Yaml/BaseSetup.yaml
1999 = EXT:db_friendlycaptcha/Configuration/Yaml/FormEditorSetup.yaml
}
');
});