-
Notifications
You must be signed in to change notification settings - Fork 17
IBX-9855: Added isHidden property to ContentTree Node
#1675
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
| public $isInvisible; | ||
|
|
||
| /** @var bool */ | ||
| public $isHidden; |
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.
| public $isHidden; | |
| public bool $isHidden; |
| $generator->startValueElement('isHidden', $generator->serializeBool($data->isHidden)); | ||
| $generator->endValueElement('isHidden'); |
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.
Use valueElement instead.
| '', // node name will be provided later by `supplyTranslatedContentName` method | ||
| null !== $contentType ? $contentType->getIdentifier() : '', | ||
| null === $contentType || $contentType->isContainer(), | ||
| $location->isInvisible() || $location->isHidden(), |
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.
Isn't that behavior change?
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.
Yes it is, It is needed for FE
https://issues.ibexa.co/browse/IBX-9855
https://github.com/ibexa/tree-builder/pull/186
36396ef to
a9f373a
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.
QA Approved on DXP Commerce 4.6.x-dev



Related PRs:
Description:
Added
isHiddenproperty to ContentTree Node