Skip to main content
14 events
when toggle format what by license comment
Feb 24, 2020 at 9:10 comment added Attila Naghi I think the getCollection it is deprecated now
Dec 3, 2019 at 8:45 comment added Radu @RakeshVarma calling getCollection directly is deprecated. M2 best practice says you should use create an instance of the Magento\Eav\Model\Attribute (factory) and then call the getCollection method.
S Dec 2, 2019 at 20:38 history suggested Radu CC BY-SA 4.0
fix typo in variable name; code formatting (to get pass the: Edits must be at least 6 characters; is there something else to improve in this post?);
Dec 2, 2019 at 17:03 review Suggested edits
S Dec 2, 2019 at 20:38
Aug 4, 2018 at 12:23 vote accept Jafar Pinjar
Aug 4, 2018 at 12:18 comment added Jafar Pinjar Let us continue this discussion in chat.
Aug 4, 2018 at 12:15 comment added Rakesh Varma Please check my updated answer you forget to add Context in construct.
Aug 4, 2018 at 12:15 history edited Rakesh Varma CC BY-SA 4.0
added 259 characters in body
Aug 4, 2018 at 12:11 comment added Jafar Pinjar Please check it. I have updated in my question
Aug 4, 2018 at 12:05 comment added Rakesh Varma Update your controller code in question
Aug 4, 2018 at 11:56 comment added Jafar Pinjar hi, I am getting internal server error below is the error PHP Fatal error: Uncaught Error: Call to a member function dispatch() on null
Aug 4, 2018 at 11:45 comment added Rakesh Varma Yes you can use it
Aug 4, 2018 at 11:43 comment added Jafar Pinjar Can we use it in controller?
Aug 4, 2018 at 11:34 history answered Rakesh Varma CC BY-SA 4.0