$teaserCropVariants = [ 'teaser' => [ 'title' => 'Teaser', 'allowedAspectRatios' => [ 'portrait' => [ 'title' => 'Portrait', 'value' => 3 / 4 ], 'landscape' => [ 'title' => 'Landscape', 'value' => 4 / 3 ], ], ], ]; $table = 'tx_mask_slides'; $cType = 'mask_slider'; $column = 'tx_mask_bilder'; $GLOBALS['TCA'][$table]['columns']['tx_mask_bilder']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants'] = $testCropVariants;404