Problem/Motivation

Scanning this module with Upgrade Status results in a number of warnings of the form,

Storing entity storage as a class property is not recommended. Call Drupal\Core\Entity\EntityTypeManagerInterface::getStorage() at the call-site instead.

Steps to reproduce

Scan the module with Upgrade Status in Drupal 11.

Proposed resolution

Call getStorage() instead.

API changes

This could affect third party modules that extend the offending class.

Issue fork paragraphs-3620722

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’s picture

Assigned: benstallings » Unassigned
Issue summary: View changes
Status: Active » Needs review