Issue Feature Closed

#46124IRRE: Provide default values for created records

Sebastian Michaelsen 03/08/13, 12:06 updated 10/23/17, 21:48

Description

Let’s say you have an IRRE fields that hold’s tt_content records and in this context mostly you want to use the “Image” CE.

AFAIK there is no possibility to provide default values for IRRE fields. So I’d like to introduce ‘foreign_table_defaultValues’ as new option for ‘inline’ elements:

config => array(
  'type' => 'inline',
  'foreign_table' => 'tt_content',
  'foreign_table_defaultValues' => array(
    'CType' => 'image'
  ),
)

Reviews 1