Drupal calls should be avoided in classes, use dependency injection instead

Created on 14 June 2023, almost 2 years ago

Problem/Motivation

----------------------------------------------------------------------------------------------
151 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
193 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
194 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
229 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
245 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
259 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
278 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
328 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
341 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
351 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------

🐛 Bug report
Status

Closed: won't fix

Version

4.0

Component

Code

Created by

🇮🇳India yashmalviya

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

Comments & Activities

Production build 0.71.5 2024