Actions
Feature #72619
closedAdd a possibility to provide custom context information to inline elements
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-01-10
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
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
- 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.
Actions