Closed (won't fix)
Project:
Convert Bundles
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2026 at 15:21 UTC
Updated:
8 Jan 2026 at 09:13 UTC
Jump to comment: Most recent
File: src/ConvertBundles.php
ConvertBundles uses service locator calls like \Drupal::entityTypeManager(), \Drupal::entityQuery(), and \Drupal::service(). It is better to use dependency injection
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
andrii momotov commentedI assigned the task myself because I plan to fix this issue and make a Merge Request.
Please do not work on this issue.
Comment #3
andrii momotov commentedWhile working on the issue, I noticed that replacing \Drupal::… calls with dependency injection would require changing the getEntities() method from static to non-static. Since it may need to remain static, I decided not to change anything. Thanks.