ModulesConfigs::getModuleEditUrl() method

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.244

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani