protected function ContextUserAuth::getIP in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8 src/Context/ContextUserAuth.php \Drupal\tmgmt_smartling\Context\ContextUserAuth::getIP()
- 8.2 src/Context/ContextUserAuth.php \Drupal\tmgmt_smartling\Context\ContextUserAuth::getIP()
- 8.3 src/Context/ContextUserAuth.php \Drupal\tmgmt_smartling\Context\ContextUserAuth::getIP()
1 call to ContextUserAuth::getIP()
- ContextUserAuth::switchUser in src/
Context/ ContextUserAuth.php - Switches to a different user.
File
- src/
Context/ ContextUserAuth.php, line 146
Class
Namespace
Drupal\tmgmt_smartling\ContextCode
protected function getIP() {
return $_SERVER['REMOTE_ADDR'];
}