Magento 2 Development Cookbook by Bart Delvaux

Magento 2 Development Cookbook by Bart Delvaux

Author:Bart Delvaux [Delvaux, Bart]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2015-12-27T23:00:00+00:00


Getting ready

Like the previous recipes in this chapter, we will build further on the module that we have created in the previous recipes. Make sure you have the module files installed.

How to do it...

The following instructions describe what you have to do when you want to add some custom configuration parameters:

The system configuration is always configured in the system.xml file of the module. So create the file app/code/Packt/HelloWorld/etc/adminhtml/system.xml with the following content:<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <system> </system> </config>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.