Problem/Motivation

The REQUEST_TIME global constant has also been deprecated, scheduled to be removed before 9.0.0
https://www.drupal.org/node/2785211

Proposed resolution

Replace the REQUEST_TIME with the \Drupal::time()->getRequestTime()

Comments

thalles created an issue. See original summary.

thalles’s picture

Title: REQUEST_TIME is deprecated » Injection datetime.time and REQUEST_TIME(deprecated)
Issue tags: +ciandt-contrib
thalles’s picture

Title: Injection datetime.time and REQUEST_TIME(deprecated) » Injection datetime.time and REQUEST_TIME(deprecated) on AbjsConditionForm
thalles’s picture

Title: Injection datetime.time and REQUEST_TIME(deprecated) on AbjsConditionForm » Injection datetime.time and replace REQUEST_TIME(deprecated) on AbjsConditionForm
thalles’s picture

Status: Needs work » Needs review
StatusFileSize
new2.13 KB

Follow the patch!

  • thalles committed bd6e82e on 8.x-1.x
    Issue #3025759 by thalles: Injection datetime.time and replace...
thalles’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.