Skip to content
Snippets Groups Projects

Issue #2999614: Use Drupal core time service with fallback

Open Issue #2999614: Use Drupal core time service with fallback
1 unresolved thread
1 unresolved thread

Closes #2999614

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
125 125 * @see Drupal\Component\Datetime\Time::getRequestTime()
126 126 */
127 127 public static function getRequestTime() {
128 return (int) $_SERVER['REQUEST_TIME'] ?? time();
128 try {
129 // @phpstan-ignore-next-line
130 return \Drupal::time()->getRequestTime();
  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading