Skip to content

Commit 3057aab

Browse files
committed
[TASK] Replace deprecated childNodes ViewHelper property
`AbstractViewHelper::$childNodes` is deprecated and will be removed with Fluid v5. Original change in Fluid: TYPO3/Fluid#1091 Resolves: #106792 Releases: main, 13.4 Change-Id: I9aec7b161f287ecbafe461b327141bb8083d1ee4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/89571 Reviewed-by: Simon Praetorius <[email protected]> Reviewed-by: Christian Kuhn <[email protected]> Tested-by: Stefan Bürk <[email protected]> Tested-by: core-ci <[email protected]> Reviewed-by: Stefan Bürk <[email protected]> Tested-by: Simon Praetorius <[email protected]> Tested-by: Christian Kuhn <[email protected]>
1 parent 2092675 commit 3057aab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Classes/ViewHelpers/Be/Menus/ActionMenuItemGroupViewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function render(): string
5757
{
5858
$this->tag->addAttribute('label', $this->arguments['label']);
5959
$options = '';
60-
foreach ($this->childNodes as $childNode) {
60+
foreach ($this->viewHelperNode->getChildNodes() as $childNode) {
6161
if ($childNode instanceof ViewHelperNode) {
6262
$options .= $childNode->evaluate($this->renderingContext);
6363
}

Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function initializeArguments(): void
5858
public function render(): string
5959
{
6060
$options = '';
61-
foreach ($this->childNodes as $childNode) {
61+
foreach ($this->viewHelperNode->getChildNodes() as $childNode) {
6262
if ($childNode instanceof ViewHelperNode) {
6363
$options .= $childNode->evaluate($this->renderingContext);
6464
}

0 commit comments

Comments
 (0)