private function Telemetry::getUserId in Lightning Core 8.4
Same name and namespace in other branches
- 8.3 modules/acquia_telemetry/src/Telemetry.php \Drupal\acquia_telemetry\Telemetry::getUserId()
Gets a unique ID for this application. "User ID" is an Amplitude term.
Return value
string Returns a hashed site uuid.
1 call to Telemetry::getUserId()
- Telemetry::createEvent in modules/
acquia_telemetry/ src/ Telemetry.php - Creates an Amplitude event.
File
- modules/
acquia_telemetry/ src/ Telemetry.php, line 214
Class
- Telemetry
- Telemetry service.
Namespace
Drupal\acquia_telemetryCode
private function getUserId() {
return Crypt::hashBase64($this->configFactory
->get('system.site')
->get('uuid'));
}