\Drupal calls should be avoided in classes, use dependency injection instead in CronAccessCheck.php

Created on 14 January 2020, over 4 years ago
Updated 30 December 2023, 6 months ago

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

Move the work here to #2981326: Replace non-test usages of \Drupal::logger() with IoC injection and 📌 Replace non-test usages of \Drupal::state() with IoC injection Needs work
Then, close this as a duplicate.

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component
System 

Last updated 1 day ago

No maintainer
Created by

🇮🇳India Hardik_Patel_12 India

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024