Interface ConfigurableModule
ConfigurableModule is an interface that indicates the module is configurable by providing a getModuleConfigInputfields method and config properties may be get/set directly like:
$val = $obj->property, and $obj->property = $val
When you use this as an interface, you MUST also use 'Module' as an interface, i.e. "class Something implements Module, ConfigurableModule"
Hint: Make your ConfigurableModule classes inherit from WireData, which already has the get/set required methods.
You may optionally specify a handler method for configuration data: setConfigData(). See commented function reference in the interface below.
Located at core/Module.php
public static
InputfieldsWrapper
|
#
getModuleConfigInputfields( array $data )
Return an InputfieldsWrapper of Inputfields used to configure the class |
public
|
|
public
|