Replace REQUEST_TIME in plugins with direct container access

Created on 23 October 2023, about 1 year ago
Updated 1 March 2024, 9 months ago

Problem/Motivation

Split plugins out from πŸ“Œ Replace REQUEST_TIME in classes with direct container access Fixed to reduce the size of the changed.

This issue deals specifically with replace those calls in plugins with direct container access.

The plugins and classes with direct container access that were identified to have those calls are:

  • \Drupal\datetime\Plugin\views\argument\Date
  • \Drupal\history\Plugin\views\filter\HistoryUserTimestamp
  • \Drupal\views\Plugin\views\argument\Date
  • \Drupal\views\Plugin\views\cache\Time
  • \Drupal\views\Plugin\views\field\Date
  • \Drupal\Core\Field\Plugin\Field\FieldFormatter\TimestampFormatter

Proposed resolution

- Remove deprecated uses of REQUEST_TIME and time() and others.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
DatetimeΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡³πŸ‡ΏNew Zealand quietone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024