ModifyUrlForCanonicalTagEvent

Event to alter (or remove) an URL for the href="" attribute of a canonical URL.

API

class TYPO3\CMS\Seo\Event\ModifyUrlForCanonicalTagEvent

PSR-14 to alter (or empty) a canonical URL for the href="" attribute of a canonical URL.

getUrl()
Return type

string

setUrl(string url)
Parameters
  • $url (string) -- the url