Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: Adjust to Fluid changes #172

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions Classes/Core/Renderer/FluidFormRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,6 @@ public function renderRenderable(RootRenderableInterface $renderable)
return $output;
}

public function renderPartial($partialName, $sectionName, array $variables, $ignoreUnknown = false)
{
return parent::renderPartial($partialName, $sectionName, $variables, $ignoreUnknown); // TODO: Change the autogenerated stub
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// TODO: Change the autogenerated stub

🤣

}

/**
* @param array $renderingOptions
* @return TemplatePaths
Expand Down Expand Up @@ -252,7 +247,7 @@ protected function getPathAndFilenameForRenderable($renderableType, array $rende
if (!isset($renderingOptions['templatePathPattern'])) {
throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "templatePathPattern" defined.', $renderableType), 1326094041);
}
list($packageKey, $shortRenderableType) = explode(':', $renderableType);
[$packageKey, $shortRenderableType] = explode(':', $renderableType);

return strtr($renderingOptions['templatePathPattern'], array(
'{@package}' => $packageKey,
Expand All @@ -277,7 +272,7 @@ protected function getPathAndFilenameForRenderableLayout($renderableType, array
if (!isset($renderingOptions['layoutPathPattern'])) {
throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "layoutPathPattern" defined.', $renderableType), 1326094161);
}
list($packageKey, $shortRenderableType) = explode(':', $renderableType);
[$packageKey, $shortRenderableType] = explode(':', $renderableType);

return strtr($renderingOptions['layoutPathPattern'], array(
'{@package}' => $packageKey,
Expand All @@ -301,7 +296,7 @@ protected function getPartialPathAndFilename($renderableType)
if (!isset($renderingOptions['partialPathPattern'])) {
throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "partialPathPattern" defined.', $renderableType), 1326713352);
}
list($packageKey, $shortRenderableType) = explode(':', $renderableType);
[$packageKey, $shortRenderableType] = explode(':', $renderableType);

$partialPath = strtr($renderingOptions['partialPathPattern'], array(
'{@package}' => $packageKey,
Expand Down
Loading