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

Created on 15 June 2023, over 1 year ago
Updated 29 September 2023, about 1 year ago

Problem/Motivation

153 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
154 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
248 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
258 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
290 | WARNING | [ ] User::loadMultiple calls should be avoided in classes, use dependency injection instead
305 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
322 | WARNING | [ ] User::loadMultiple calls should be avoided in classes, use dependency injection instead
335 | WARNING | [ ] \Drupal calls should be avoided in classes, use dependency injection instead
----------------------------------------------------------------------------------------------------

🐛 Bug report
Status

Fixed

Version

2.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