TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Definitions for routes provided by EXT:impexp
|
||||
*/
|
||||
return [
|
||||
// Register click menu entry point
|
||||
'tx_impexp_export' => [
|
||||
'path' => '/record/importexport/export',
|
||||
'target' => \TYPO3\CMS\Impexp\Controller\ExportController::class . '::handleRequest',
|
||||
],
|
||||
'tx_impexp_import' => [
|
||||
'path' => '/record/importexport/import',
|
||||
'target' => \TYPO3\CMS\Impexp\Controller\ImportController::class . '::handleRequest',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'status-reference-hard' => [
|
||||
'provider' => \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
|
||||
'source' => 'EXT:impexp/Resources/Public/Icons/status-reference-hard.png',
|
||||
],
|
||||
'status-reference-soft' => [
|
||||
'provider' => \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
|
||||
'source' => 'EXT:impexp/Resources/Public/Icons/status-reference-soft.png',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'dependencies' => [
|
||||
'backend',
|
||||
],
|
||||
'imports' => [
|
||||
'@typo3/impexp/' => 'EXT:impexp/Resources/Public/JavaScript/',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
_defaults:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
public: false
|
||||
|
||||
TYPO3\CMS\Impexp\:
|
||||
resource: '../Classes/*'
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3') or die();
|
||||
|
||||
$fields = [
|
||||
'tx_impexp_origuid' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $fields);
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3') or die();
|
||||
|
||||
$fields = [
|
||||
'tx_impexp_origuid' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('sys_template', $fields);
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3') or die();
|
||||
|
||||
$fields = [
|
||||
'tx_impexp_origuid' => [
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $fields);
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'ctrl' => [
|
||||
'title' => 'impexp.db:tx_impexp_presets',
|
||||
'label' => 'title',
|
||||
'default_sortby' => 'title',
|
||||
'tstamp' => 'tstamp',
|
||||
'crdate' => 'crdate',
|
||||
'typeicon_classes' => [
|
||||
'default' => 'actions-cog',
|
||||
],
|
||||
'hideTable' => true,
|
||||
'rootLevel' => -1,
|
||||
],
|
||||
'columns' => [
|
||||
'title' => [
|
||||
'label' => 'impexp.db:title',
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'public' => [
|
||||
'label' => 'impexp.db:public',
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'user_uid' => [
|
||||
'label' => 'impexp.db:user_uid',
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'item_uid' => [
|
||||
'label' => 'impexp.db:item_uid',
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
'preset_data' => [
|
||||
'label' => 'impexp.db:preset_data',
|
||||
'config' => [
|
||||
'type' => 'passthrough',
|
||||
],
|
||||
],
|
||||
],
|
||||
'types' => [
|
||||
0 => [
|
||||
'showitem' => 'title, public, user_uid, item_uid, preset_data',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user