I would like to overwrite the image cropping configuration specifically for the page resources.
In the changelog i can find the following part:
It is also possible to set the cropping configuration only for a specific tt_content element type by using the columnOverrides feature:
$GLOBALS['TCA']['tt_content']['types']['textmedia']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config'] = [ 'cropVariants' => [
I ask myself if there is the possibility to do this specifically for the media files in the page resources.
I tried something like this:
$GLOBALS['TCA']['pages']['types']['media']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config'] = [
But this does not work.
Maybe this does just not work. But if it does i'm looking forward for some hints to achieve this.
Thank you in advance.