From 36c424c6195b5e6d0b1ae217fd665f353fa9c18c Mon Sep 17 00:00:00 2001 From: Enes Erk Date: Wed, 7 Sep 2022 15:45:07 +0200 Subject: [PATCH] feat: Make wrapNode protected Make the function `wrapNode` as protected to allow overwriting --- Classes/Fusion/FormElementWrappingImplementation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Fusion/FormElementWrappingImplementation.php b/Classes/Fusion/FormElementWrappingImplementation.php index e365109..3dbbfef 100644 --- a/Classes/Fusion/FormElementWrappingImplementation.php +++ b/Classes/Fusion/FormElementWrappingImplementation.php @@ -97,7 +97,7 @@ private function wrapNodeRecursively(NodeInterface $node, string $output, string return $this->wrapNode($node, $output, $fusionPath); } - private function wrapNode(NodeInterface $node, string $output, string $fusionPath): string + protected function wrapNode(NodeInterface $node, string $output, string $fusionPath): string { $additionalAttributes = [ 'data-_neos-form-builder-type' => $node->getNodeType()->getName()