ModifyUrlForCanonicalTagEvent
FinalYes
PSR-14 to alter (or empty) a canonical URL for the href="" attribute of a canonical URL.
Table of Contents
Methods
- __construct() : mixed
- getUrl() : string
- setUrl() : void
Methods
__construct()
public
__construct(string $url) : mixed
Parameters
- $url : string
getUrl()
public
getUrl() : string
Return values
stringsetUrl()
public
setUrl(string $url) : void
Parameters
- $url : string