$url
Return the current URL.
This variable is an instance of the URL
.
Example:
<?php if ('/foo/bar' === $url->path) { … } ?>
Reserved variables.
$url
Return the current URL.
This variable is an instance of the URL
.
Example:
<?php if ('/foo/bar' === $url->path) { … } ?>