In this article we’ll learn how to create widgets for Magento 2. Widget allows nicer way to edit/add content inside CMS blocks or page. Through the simple module we’ll show how we can create simple widget.
Often clients want to enable/disable or modify some blocks or contents. Let me show you how to implement custom block and add store config options for it through simple module. We’ll create a quick module named “Mymodule”.
Often Magento developers need to add setting of their Theme or Module. Let me show you quick overview of types of fields developers have on disposal in Magento 2. I would recommend to place everything about Magneto 2 system config in to system.xml file.