Skip to content

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

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,
]);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions