SilverStripe\CMS\Controllers\RootURLController::get_homepage_link
Get the full form (e.g. /home/) relative link to the home page for the current HTTP_HOST value. Note that the link is trimmed of leading and trailing slashes before returning to ensure consistency.
Signature
public function get_homepage_link()
Returns
- string