Timeline for Redirect from plugin Magento 2
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 14, 2019 at 8:42 | vote | accept | Keyur Shah | ||
May 27, 2018 at 12:20 | history | bounty ended | Keyur Shah | ||
May 23, 2018 at 19:47 | comment | added | Amit Bera♦ |
then if you will use predispatch then execute method will not work
|
|
May 23, 2018 at 19:47 | comment | added | Amit Bera♦ | github.com/magento/magento2/blob/2.2-develop/lib/internal/… | |
May 23, 2018 at 19:44 | comment | added | Keyur Shah | Yes, with the use of controller object we can use it @Amit | |
May 23, 2018 at 19:42 | comment | added | Amit Bera♦ |
you can use FLAG_NO_DISPATCH this observer have controller object github.com/magento/magento2/blob/2.2-develop/app/code/Magento/…
|
|
May 23, 2018 at 19:34 | comment | added | Keyur Shah |
I think we can use FLAG_NO_DISPATCH in observer please check github.com/magento/magento2/blob/2.2-develop/app/code/Magento/… @Amit
|
|
May 21, 2018 at 11:45 | comment | added | Amit Bera♦ |
FLAG_NO_DISPATCH cannot used to observer, if your does have any controller object at your observer
|
|
May 19, 2018 at 12:51 | comment | added | Keyur Shah | Thanks Amit for your efforts ! +1 from me , but do you know direct forcefully redirect without writing extra observer? Like in observer we can forcefully redirect by setting 'FLAG_NO_DISPATCH` but in plugin? | |
May 19, 2018 at 11:52 | history | answered | Amit Bera♦ | CC BY-SA 4.0 |