Hey I am a noob to Magento 2.I am trying to work on a module where I am passing a class as backendModel for a config field in system.xml, but I am getting an error as :

Critical:Invalid Config field backend model:"Classpath"

Can someone tell me how to use backend_model class in Magento 2.0 and what class it should extend in order to avoid above error?


Backend Model Name should full class name. Please verify that you have class Classpath.

  • Yes I have passed correct path and classname – ankit dave Mar 17 '16 at 12:42
  • A solution telling me to add Magento\Core\Model\Config\Data but this module nomore exist in magento2..what can be alternate for it? – ankit dave Mar 17 '16 at 12:45
  • Can you update you question if you new have other problem – KAndy Mar 17 '16 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.