Make use of entity_type.manager.

CommentFileSizeAuthor
#2 2859512-patch.patch693 byteschaitanya17

Comments

chaitanya17 created an issue. See original summary.

chaitanya17’s picture

StatusFileSize
new693 bytes

Please check attached working patch.

chaitanya17’s picture

Assigned: chaitanya17 » Unassigned
Status: Active » Needs review
gaurav_drupal’s picture

Good catch, thanks!

gaurav_drupal’s picture

Status: Needs review » Fixed

Fixed, applied patch in new release 8.x-1.4

gaurav_drupal’s picture

Status: Fixed » Closed (fixed)
chaitanya17’s picture

@Gaurav_drupal Thanks for fixing issue, but I haven't yet received commit for this.

gaurav_drupal’s picture

@chaitanya17 As I am new to this committing process, I have manually applied the patch.

chaitanya17’s picture

@Gaurav_drupal, https://www.drupal.org/patch/apply check this document

Use this command to commit to your repo. Nothing Different.

git commit -m 'Issue #2859512 by chaitanya17: entityTypeManager should be used in static create function' --author="chaitanya17 <chaitanya17@1998300.no-reply.drupal.org>"

gaurav_drupal’s picture

@chaitanya17 Thanks.

gaurav_drupal’s picture

Status: Closed (fixed) » Fixed
gaurav_drupal’s picture

Version: 8.x-1.x-dev » 8.x-1.5
gaurav_drupal’s picture

Status: Fixed » Closed (fixed)