workshop-gitlab-acceptance/localPackages/example_extension/ext_localconf.php

45 lines
1.4 KiB
PHP
Raw Normal View History

2018-11-03 19:29:21 +01:00
<?php
(function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Workshop.ExampleExtension',
'Address',
[
'Address' => 'index, edit, update'
],
[
'Address' => 'update'
],
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
2018-11-03 19:29:21 +01:00
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(trim('
@import "EXT:example_extension/Configuration/TypoScript/*.typoscript"
'));
2018-11-03 19:29:21 +01:00
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
mod {
wizards {
newContentElement {
wizardItems {
common {
show = *
2018-11-03 19:29:21 +01:00
elements {
exampleElement {
iconIdentifier = content-store
2018-11-03 19:29:21 +01:00
title = Example title
description = Example Description
tt_content_defValues {
CType = list
list_type = exampleextension_pluginkey
}
}
}
}
}
}
}
}
');
})();