public function MenutrailbypathUrlHelper::getUrl in Menu Trail By Path 7.3
Cached version of the url function
Parameters
string $path:
Return value
string mixed
File
- src/
MenutrailbypathUrlHelper.inc, line 10
Class
Code
public function getUrl($path) {
static $urls;
if (!isset($urls[$path])) {
$urls[$path] = url($path);
}
return $urls[$path];
}