Skip to content

Missing PluginOptions from pi_flexforms in $view from GridelementsPreviewRenderer::renderGridContainer #92

@Andreas-Sommer

Description

@Andreas-Sommer

Missing the pluginOptions from pi_flexforms to be more flexible to modify backend output.
Also the data of the item record could be helpful
For instance show options set in pi_flexforms and tt_content element itself

$flexformService = GeneralUtility::makeInstance(FlexFormService::class);
$pluginOptions = $flexformService->convertFlexFormContentToArray($record['pi_flexform']);

$view->assignMultiple([
...
'pluginOptions' => $pluginOptions,
'data' => $record,
]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions