-
-
Notifications
You must be signed in to change notification settings - Fork 234
FEATURE: Add Neos.Dimension
helper
#4085
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
Conversation
Neos.Dimension
helperNeos.Dimension
helper
Neos.Dimension
helperNeos.Dimension
helper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I generally approve concept and code but the phpstan issues should be resolved.
6270524
to
f2b4366
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments. Thanks @ahaeslich :)
- currentValue(Node $node, string|ContentDimensionId $dimensionName): ?string - originValue(Node $node, string|ContentDimensionId $dimensionName): ?string - findDefaultValue(Node $node, string|ContentDimensionId $dimensionName): ?string - findDimensions(Node $node): array<string,ContentDimension> - findVariantInDimension(Node $node, string|ContentDimensionId $dimensionName, string|ContentDimensionValue $dimensionValue): ?Node - findVariantsInDimension(Node $node, string|ContentDimensionId $dimensionName): Nodes - findPotentialDimensionValues(Node $node, string|ContentDimensionId $dimensionName): ContentDimensionValues
f2b4366
to
7c01e09
Compare
@skurfuerst adjusted as discussed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still valid
Add
Neos.Dimension
to find informations regarding node dimensions and find variants of nodes.currentValue(Node $node, ContentDimensionId|string $dimensionName): ?string
originValue(Node $node, ContentDimensionId|string $dimensionName): ?string
all(ContentRepositoryId|Node $subject): array<string,ContentDimension>
findVariantInDimension(Node $node, ContentDimensionId|string $dimensionName, ContentDimensionValue|string $dimensionValue): ?Node
In addtion:
nodeAddressToString
toserializedNodeAddress
inNeos.Node
helperReview instructions
Neos.Seo
Relates: neos/neos-seo#172
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions