public function Account::getHostname in Service Container 7
Same name and namespace in other branches
- 7.2 src/Session/Account.php \Drupal\service_container\Session\Account::getHostname()
File
- src/
Session/ Account.php, line 155 - Contains \Drupal\service_container\Session\Account.
Class
- Account
- Wraps the global user to provide the account interface.
Namespace
Drupal\service_container\SessionCode
public function getHostname() {
return $GLOBALS['user']->hostname;
}