ModulesConfigs::getModuleEditUrl()

Return the URL where the module can be edited, configured or uninstalled

If module is not installed, it returns URL to install the module.

Usage

// basic usage
$string = $modulesConfigs->getModuleEditUrl($className);

// usage with all arguments
$string = $modulesConfigs->getModuleEditUrl($className, bool $collapseInfo = true);

Arguments

NameType(s)Description
$classNamestring Module
$collapseInfo (optional)bool

Return value

string


ModulesConfigs methods and properties

API reference based on ProcessWire core version 3.0.251