[TASK] Rename TCA type image_manipulation to imageManipulation 60/38860/2
authorFrans Saris <franssaris@gmail.com>
Wed, 22 Apr 2015 14:52:06 +0000 (16:52 +0200)
committerAndreas Fernandez <andreas.fernandez@aspedia.de>
Thu, 23 Apr 2015 11:06:56 +0000 (13:06 +0200)
Resolves: #66543
Releases: master
Change-Id: Ie4875f729913a372f7f50b5b5b63df51475e710a
Reviewed-on: http://review.typo3.org/38860
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/DataHandling/TableColumnType.php
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/core/Documentation/Changelog/master/Feature-65585-AddTCATypeImage_manipulation.rst

index 892f129..86611c7 100644 (file)
@@ -1039,7 +1039,7 @@ class FormEngine {
                                'none' => 'NoneElement',
                                'user' => 'UserElement',
                                'flex' => 'FlexElement',
-                               'image_manipulation' => 'ImageManipulationElement',
+                               'imageManipulation' => 'ImageManipulationElement',
                                'unknown' => 'UnknownElement',
                        );
                        if (!isset($typeClassNameMapping[$type])) {
index a305d2c..26ca787 100644 (file)
@@ -1598,7 +1598,7 @@ class DataHandler {
                                $res = $this->checkValue_text($res, $value, $tcaFieldConf, $PP, $field);
                                break;
                        case 'passthrough':
-                       case 'image_manipulation':
+                       case 'imageManipulation':
                        case 'user':
                                $res['value'] = $value;
                                break;
index ce2cbbd..ff3c1d8 100644 (file)
@@ -37,7 +37,7 @@ class TableColumnType extends \TYPO3\CMS\Core\Type\Enumeration {
        const USER = 'USER';
        const FLEX = 'FLEX';
        const INLINE = 'INLINE';
-       const IMAGE_MANIPULATION = 'IMAGE_MANIPULATION';
+       const IMAGEMANIPULATION = 'IMAGEMANIPULATION';
 
        /**
         * @param mixed $type
index cde3028..29a042d 100644 (file)
@@ -221,7 +221,7 @@ return array(
                        'exclude' => 1,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.crop',
                        'config' => array(
-                               'type' => 'image_manipulation'
+                               'type' => 'imageManipulation'
                        )
                )
        ),
index 02ea061..620d830 100644 (file)
@@ -1,11 +1,11 @@
-=================================================
-Feature - #65585: Add TCA type image_manipulation
-=================================================
+================================================
+Feature - #65585: Add TCA type imageManipulation
+================================================
 
 Description
 ===========
 
-TCA type `image_manipulation` brings a image manipulation wizard to the core.
+TCA type `imageManipulation` brings a image manipulation wizard to the core.
 
 This first version brings image cropping with the possibility to
 set a certain aspect ratio for the cropped area. The
@@ -19,7 +19,7 @@ to create adjusted images is also adjusted to handle the new format.
 Impact
 ======
 
-There is an new TCA type column type `image_manipulation` it supports the following config:
+There is an new TCA type column type `imageManipulation` it supports the following config:
 
 - file_field: string, default `uid_local`
 - enableZoom: bool, default `FALSE`