Skip to main content

How can iI get the collection of a custom module in magento 2

I am trying to create a custom module in M 2 0.74.0-beta16. How can iI can get collection of custom table. I tried $this->_mymodulemodelFactory->create()->getCollection(); . The factory file is generated for my module but getCollection() gives noting.

How can i get collection of custom module in magento 2

I am trying to create a custom module in M 2 0.74.0-beta16. How can i can get collection of custom table. I tried $this->_mymodulemodelFactory->create()->getCollection(); . The factory file is generated for my module but getCollection() gives noting.

How can I get the collection of a custom module in magento 2

I am trying to create a custom module in M 2 0.74.0-beta16. How can I can get collection of custom table. I tried $this->_mymodulemodelFactory->create()->getCollection(); . The factory file is generated for my module but getCollection() gives noting.

Tweeted twitter.com/#!/StackMagento/status/629352773923024897
Source Link
Shaheer Ali
  • 2.4k
  • 4
  • 20
  • 29

How can i get collection of custom module in magento 2

I am trying to create a custom module in M 2 0.74.0-beta16. How can i can get collection of custom table. I tried $this->_mymodulemodelFactory->create()->getCollection(); . The factory file is generated for my module but getCollection() gives noting.