We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On this section: https://symfony.com/bundles/EasyAdminBundle/current/actions.html#adding-custom-actions
There is an example of code:
public function renderInvoice(AdminContext $context) { $order = $context->getEntity()->getInstance(); // add your logic here... }
What is the expected logic? Must I return an instance of Symfony\Component\HttpFoundation\Response?
Symfony\Component\HttpFoundation\Response
It would be nice to have a real example.
So far, returning a Response work but it isn't in the context of this admin so that looks weird.
Response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On this section: https://symfony.com/bundles/EasyAdminBundle/current/actions.html#adding-custom-actions
There is an example of code:
What is the expected logic? Must I return an instance of
Symfony\Component\HttpFoundation\Response
?It would be nice to have a real example.
So far, returning a
Response
work but it isn't in the context of this admin so that looks weird.The text was updated successfully, but these errors were encountered: