TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3') or die();
|
||||
|
||||
call_user_func(static function () {
|
||||
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
|
||||
'form',
|
||||
'Configuration/TypoScript/',
|
||||
'Form'
|
||||
);
|
||||
});
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3') or die();
|
||||
|
||||
call_user_func(static function () {
|
||||
// Register the plugin
|
||||
$contentTypeName = \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||
'Form',
|
||||
'Formframework',
|
||||
'LLL:EXT:form/Resources/Private/Language/locallang.xlf:form_new_wizard_title',
|
||||
'content-form',
|
||||
'forms',
|
||||
'LLL:EXT:form/Resources/Private/Language/locallang.xlf:form_new_wizard_description',
|
||||
'FILE:EXT:form/Configuration/FlexForms/FormFramework.xml',
|
||||
);
|
||||
|
||||
$GLOBALS['TCA']['tt_content']['types'][$contentTypeName]['previewRenderer'] = \TYPO3\CMS\Form\Preview\FormPagePreviewRenderer::class;
|
||||
});
|
||||
Reference in New Issue
Block a user