forked from b13/t3ext-dam_falmigration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
23 lines (18 loc) · 1.89 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
if (TYPO3_MODE == 'BE') {
$TYPO3_CONF_VARS['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\DamFalmigration\\Task\\MigrateTtContentImagecaptionTask'] = array(
'extension' => $_EXTKEY,
'title' => 'DAM-FAL Migration: Migrate imagecaption in tt_content',
'description' => 'Migrates "imagecaption" in tt_content records to "description" in corresponding sys_file_reference records. If the number of lines in a tt_content record\'s imagecaption is greater than the number of associated FAL records it is very likely that tt_content.imagecaption is not used as it is generally supposed to be. These tt_content\'s imagecaption will neither be migrated nor will they be deleted but must be migrated manually! Have a look at the database or (if used) the devlog.',
);
$TYPO3_CONF_VARS['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\DamFalmigration\\Task\\MigrateTtContentImageLinkTask'] = array(
'extension' => $_EXTKEY,
'title' => 'DAM-FAL Migration: Migrate image_link in tt_content',
'description' => 'Migrates "image_link" in tt_content records to "link" in corresponding sys_file_reference records. If the number of lines in a tt_content record\'s image_link is greater than the number of associated FAL records it is very likely that tt_content.image_link is not used as it is generally supposed to be. These tt_content\'s image_link will neither be migrated nor will they be deleted but must be migrated manually! Have a look at the database or (if used) the devlog.',
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'B13\\DamFalmigration\\Controller\\DamMigrationCommandController';
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'][] = 'EXT:dam_falmigration/Classes/Hooks/TcaCategory.php:Tx_DamFalmigration_Hooks_TcaCategory';