protected function Requirements::hasUniqueId in MongoDB 8.2
Is mod_unique_id available on this instance ?
Return value
bool Is it ?
1 call to Requirements::hasUniqueId()
- Requirements::checkRequestTracking in modules/
mongodb_watchdog/ src/ Install/ Requirements.php - Check the consistency of request tracking vs configuration and environment.
File
- modules/
mongodb_watchdog/ src/ Install/ Requirements.php, line 259
Class
- Requirements
- Class Requirements implements hook_requirements().
Namespace
Drupal\mongodb_watchdog\InstallCode
protected function hasUniqueId() : bool {
$server = $this->requestStack
->getCurrentRequest()->server;
return $server
->has('UNIQUE_ID') || $server
->has('REDIRECT_UNIQUE_ID');
}