public static getURLForBlock ( string $module, string $action = null, string $language = null, array $data = null ) : string | ||
$module | string | The module wherefore the URL should be build. |
$action | string | A specific action wherefore the URL should be build, otherwise the default will be used. |
$language | string | The language to use, if not provided we will use the loaded language. |
$data | array | An array with keys and values that partially or fully match the data of the block. If it matches multiple versions of that block it will just return the first match. |
return | string |