SilverStripe\CMS\Model\SiteTree::PreviewLink
Base link used for previewing. Defaults to absolute URL, in order to account for domain changes, e.g. on multi site setups. Does not contain hints about the stage, see {@link SilverStripeNavigator} for details.
Signature
public function PreviewLink([string
$action = NULL] )
Parameters
$action
— string- See {@link Link()}
Returns
- string