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

Migrate ${node.label} to ${q(node).label()} #71

Closed
1 of 3 tasks
mhsdesign opened this issue Jun 25, 2024 · 1 comment · Fixed by #74 or #89
Closed
1 of 3 tasks

Migrate ${node.label} to ${q(node).label()} #71

mhsdesign opened this issue Jun 25, 2024 · 1 comment · Fixed by #74 or #89

Comments

@mhsdesign
Copy link
Member

mhsdesign commented Jun 25, 2024

  • In Fusion accessing the label via ${node.label} will currently no longer work but one can leverage the flowquery ${q(node).label()} to get the label.

see neos/neos-development-collection#5020

  • And for php it must be
+  #[Flow\Inject]
+ protected NodeLabelGeneratorInterface $nodeLabelGenerator;
+ 
+ $this->nodeLabelGenerator->getLabel($node);
- $node->getLabel();
  • also the NodeLabelGeneratorInterface was moved and must be differently imported
@mhsdesign
Copy link
Member Author

PHP part is still to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants