Skip to main content
12 events
when toggle format what by license comment
Sep 13, 2019 at 9:26 comment added Ketan Borada how can i call it to custom controller in admin?
Aug 3, 2017 at 10:35 comment added KA9 I got order id using this : $order_id = $request->getParam('order_id');
Jul 31, 2017 at 13:50 comment added KA9 Ok, can anyone please tell me, how to get order id in Context.php?
Jul 31, 2017 at 12:11 comment added KA9 add this before afterGetButtonList function....... protected $urlBuider; public function __construct(\Magento\Framework\UrlInterface $urlBuilder) { $this->urlBuilder = $urlBuilder; } Then in getCustomUrl() function add this line only..... return $this->urlBuilder->getUrl('modulename/controllername/methodname',array('parameter'=>parameter_value));
Nov 22, 2015 at 19:08 comment added MagePal Extensions Instead of loading the objectManager you could have done $subject->getRequest()->getFullActionName()
Nov 22, 2015 at 18:41 comment added Sohel Rana Just update my answer using plugin
Nov 22, 2015 at 18:40 history edited Sohel Rana CC BY-SA 3.0
added 235 characters in body
Nov 22, 2015 at 18:29 history undeleted Sohel Rana
Nov 22, 2015 at 18:19 history deleted Sohel Rana via Vote
Nov 22, 2015 at 16:37 comment added Sohel Rana yes. But you can't create plugin for protected function.
Nov 22, 2015 at 16:26 comment added MagePal Extensions Correct me if i'm wrong, but from all my testing so far preference type is the equivalent of rewrite in magento 1. Therefore only one module can take advantage of it
Nov 22, 2015 at 9:49 history answered Sohel Rana CC BY-SA 3.0