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

Created on 8 June 2023, over 1 year ago

Problem/Motivation

The error in the title occurs in the MenuItems.php file.

Steps to reproduce

Run the phpcs command on the module.

Proposed resolution

Use dependency injection and container to replace direct calls.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia sidharth_soman Bangalore

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