Issue Feature Closed

#72619Add a possibility to provide custom context information to inline elements

Hannes Lau 01/10/16, 11:24 updated 05/24/17, 17:26

Description

Add a hook, signal or configuration options that allows developers to extend the context information that is passed to inline elements. The hook shall allow an implementor to copy data that is provided by the FormDataProviders of the parent element and make it acessible to the FormDataProviders in the InlineParentGroup of the child record.

Use cases:
  • Use parents type value to set the type of an inline child
  • Use parents db field to modify the TCA of the child object
Or more specifically
  • Solve issues like #67611, #71436
  • Provide different crop presets for the sys_file_reference.crop field, depending on the table/type of the record that references the sys_file_reference

… each, by using a custom FormDataProvider in the InlineParentRecord group.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.