-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Poc to reuse MenuBlock #1612
Poc to reuse MenuBlock #1612
Conversation
This should also be reverted:
|
Test are not failing ^^' Are you talking about this revert https://github.com/sonata-project/SonataPageBundle/pull/1612/files#diff-b50ae12595c81d84839724f494ff3fc84c2c4bfac81990d3e14c87ecc3459ce2L47 ? |
Yes, if you are not passing the block on the parent, how is this working? |
I don't understand, I remove the constructor param https://github.com/sonata-project/SonataPageBundle/pull/1612/files#diff-f0461df8f4a53195f2b565ad37746df1e8076ff748edb18c3e2689581f2db4caL40 so I also remove in the config. Now the block is extending BaseBreadcrumbService in which the constructor signature is reverted by |
@VincentLanglet I tried this PR (that uses at the same time the 3 PRs and everything seems fine). |
Could you please rebase your PR and fix merge conflicts? |
We're supposed to used the BlockBundle ones
e70e83e
to
97586ad
Compare
@@ -123,23 +123,28 @@ public function configureEditForm(FormMapper $form, BlockInterface $block): void | |||
['title', TextType::class, [ | |||
'required' => false, | |||
'label' => 'form.label_title', |
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.
is this line one space off?
Subject
I am targeting this branch, because {reason}.
Closes #{put_issue_number_here}.