GinNavigation implements ContainerInjectionInterface but doesn't actually do any dependency injection

Created on 12 November 2023, 7 months ago
Updated 15 May 2024, about 1 month ago

Problem/Motivation

Title sums it up. Anyone mind if I tackle this and open a merge request?

Steps to reproduce

Lot of accessing the \Drupal static global and various static calls to stuff like BlockContentType::loadMultiple(), Vocabulary::loadMultiple(), etc., which are completely unnecessary since we have direct access to the container.

https://git.drupalcode.org/project/gin/-/blob/233700f678b77049d547213305...

Proposed resolution

See above.

Remaining tasks

Do the thing.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Ambient.Impact Toronto

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

Comments & Activities

Production build 0.69.0 2024