A
A
Alexander2021-07-22 13:42:37
symfony
Alexander, 2021-07-22 13:42:37

How to override some parameters in bundle controller?

The project uses a ready-made bundle, which uses another bundle, such as a plugin for it,
I need to change some parameters
There is a CustomerController controller that is inherited by ResourceController
The form that I want to change is passed to it
, you need to hang the isCompany condition and, depending on the type of customer,

how this can be done , I don't understand, I
found this - but I'm not sure if this is what I need https://symfony.com/doc/4.4/bundles/extension.html

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question