Download the PHP package netresearch/config-fields-m2 without Composer
On this page you can find all versions of the php package netresearch/config-fields-m2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netresearch/config-fields-m2
More information about netresearch/config-fields-m2
Files in netresearch/config-fields-m2
Package config-fields-m2
Short Description A collection of custom config types for Magento 2 system configuration development.
License OSL-3.0
Informations about the package config-fields-m2
Custom Config Fields for Magento 2
No more fiddly "Yes/No" dropdowns in your configuration.
This Magento 2 extension offers a selection of custom "Field Types" and "Frontend Models" for use in Magento 2 extensions with a system configuration section.
Features
Custom field types
- Checkboxset: Functionally equivalent to native Magento field type
multiselect
- Radioset: Functionally equivalent to native Magento field type
select
- Checkbox: Functionally equivalent to native Magento field type
select
withYesNo
source model - Toggle: Same as "Checkbox", but with special styling
- TimeWithMinutePrecision: Works like the Magento field type
time
but hides the 'seconds' selection.
Custom frontend model blocks
- InfoBox: A customizable information section for your extension
Installation via composer
Requires PHP >=7.0 and Magento >=2.2
Usage
In your Magento 2 extension's etc/adminhtml/system.xml
, enter the class name of one
of the Types at Netresearch\ConfigFields\Model\Type
.
For example:
Custom frontend model blocks may use additional configuration values transmitted via <attribute>
nodes:
For example:
The available attributes are documented inside the Block source code file.
Support & Issues
This extension is provided "as is", the author does not offer or promise any support. However, feel free to open a GitHub issue for any problems you encounter.
All versions of config-fields-m2 with dependencies
magento/module-backend Version ^101.0.0 || ^102.0.0
magento/module-config Version ^101.1.0
php Version ^7.2.0 || ^8.1.0