SilverStripe\CMS\Model\RedirectorPage::Link
Return the the link that should be used for this redirector page, in navigation, etc.
If the redirectorpage has been appropriately configured, then it will return the redirection destination, to prevent unnecessary 30x redirections. However, if it's misconfigured, then it will return a link to itself, which will then display an error message.
Signature
public function Link([string
$action = NULL] )
Parameters
$action
— string
Returns
- string