Repository navigation
drupal.entityStorageDirectInjection when overriding EntityListBuilder #1013
Answered
by
mglaman
edosenseidotcom
asked this question in
Q&A
|
I have a custom entity I created with However, with the new 2.1.0 rules, I get this error: However, I'm overriding the EntityListBuilder constructor, which requires the storage, not the entity type manager. Is there an elegant workaround for this, or should I just ignore the rule here? 2.1.0 pointed out several legitimate issues and led me to find places where my code could be improved, but I don't know how to fix this one. |
Answered by
mglaman
Jul 17, 2026
Replies: 1 comment
|
You'll have to just ignore it, since you're following a pattern in the parent, which is owned by Drupal Core |
0 replies
Answer selected by
edosenseidotcom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll have to just ignore it, since you're following a pattern in the parent, which is owned by Drupal Core