Problem/Motivation

Scanning this module with Upgrade Status results in,

Direct injection of entity storage via $storage is not recommended. Inject Drupal\Core\Entity\EntityTypeManagerInterface and call getStorage() at the call-site instead.

Proposed resolution

call getStorage() instead

API changes

Potentially a third party module that extends the offending class(es) could be impacted.

Issue fork context-3620756

Command icon Show commands

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

benstallings created an issue. See original summary.

benstallings changed the visibility of the branch 3620756-direct-injection-of to hidden.

benstallings’s picture

Status: Active » Needs review