Abstract Class UrlHelper¶
Extends UrlHelper
Methods¶
hostname¶
Returns the hostname of the current site (e.g. example.com).
Falls back to the primary site if no current site is set (e.g. console requests), or if the current site doesn't have its own base URL.
| return | string |